public HomeController(IUserContext usercontext, ICaseContext caseContext, IAdminUserContext adminUserContext)
 {
     serverUserCollection = new AdminUserCollection(adminUserContext);
     Case           = new Logic.Case(caseContext);
     CaseCollection = new CaseCollection(caseContext);
 }
Beispiel #2
0
        //private UserCollection _userCollection;


        public UserController(IUserContext userContext, IAdminUserContext adminUserContext)
        {
            _adminUserCollection   = new AdminUserCollection(adminUserContext);
            _companyUserCollection = new CompanyUserCollection(userContext);
            //_userCollection = new UserCollection(userContext);
        }