Example #1
0
 public CommunityLogic()
 {
     Communities  = CommunityModel.GetInstance().Communities;
     Users        = CommunityModel.GetInstance().Users;
     LoggedinUser = CommunityModel.GetInstance().LoggedinUser;
     serializer   = new CommunityModelSerializer();
 }
Example #2
0
 public static CommunityModel GetInstance()
 {
     if (instance == null)
     {
         instance = new CommunityModel();
     }
     return(instance);
 }