From f89f308c525e9deebc6d2cf6416e27dfe1a299dc Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Sun, 19 May 2019 16:03:38 +0200 Subject: Cleanup DiscoBot Project --- DSACore/Models/Network/Group.cs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'DSACore/Models/Network/Group.cs') diff --git a/DSACore/Models/Network/Group.cs b/DSACore/Models/Network/Group.cs index 76c3efb..3a8ce77 100644 --- a/DSACore/Models/Network/Group.cs +++ b/DSACore/Models/Network/Group.cs @@ -22,14 +22,11 @@ namespace DSACore.Models.Network public string Password { get; set; } public List Users { get; set; } = new List(); - public int UserCount - { - get { return Users.Count; } - } + public int UserCount => Users.Count; public SendGroup SendGroup() { - return new SendGroup( Name, UserCount); + return new SendGroup(Name, UserCount); } } @@ -44,6 +41,5 @@ namespace DSACore.Models.Network public string Name { get; set; } public int UserCount { get; set; } - } -} +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf