public AccountController(IUnitOfWork uow, IAuth a)
 {
     unitOfWork = uow;
     userService = new UserService(unitOfWork);
     metroRegionService = new MetroRegionService(unitOfWork);
     webSecurity = new WebSecurity(uow, a);
 }
 public void Initialize()
 {
     uow = new MockUnitOfWork<MockFlashMercyContext>();
     userService = new UserService(uow);
 }
Exemple #3
0
 public WebSecurity(IUnitOfWork uow, IAuth a)
 {
     userService = new UserService(uow);
     auth = a;
 }