public HomeController(IUserContext usercontext, ICaseContext caseContext, IAdminUserContext adminUserContext) { serverUserCollection = new AdminUserCollection(adminUserContext); Case = new Logic.Case(caseContext); CaseCollection = new CaseCollection(caseContext); }
//private UserCollection _userCollection; public UserController(IUserContext userContext, IAdminUserContext adminUserContext) { _adminUserCollection = new AdminUserCollection(adminUserContext); _companyUserCollection = new CompanyUserCollection(userContext); //_userCollection = new UserCollection(userContext); }