We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0a50a2c + 394134f commit ed429c2Copy full SHA for ed429c2
src/SwiftLink.Domain/Entities/Link.cs
@@ -19,8 +19,12 @@ public class Link : IEntity
19
public string Password { get; set; }
20
public List<Tags> Tags { get; set; }
21
public ICollection<LinkVisit> LinkVisits { get; set; }
22
-
23
- public void EnableLink() => IsDisabled = false;
+
+ public void Enable()
24
+ => IsDisabled = false;
25
26
+ public void Disable()
27
+ => IsDisabled = true;
28
}
29
30
public class Tags
0 commit comments