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