public CustomerLocationService(IClientUserService clientUserService, IClientCustomerService clientCustomerService)
 {
     _clientUserService     = clientUserService;
     _clientCustomerService = clientCustomerService;
     _db            = new ApplicationDbContext();
     _currentUserId = HttpContext.Current.User.Identity.GetUserId();
     _unitOfWork    = new UnitOfWork(_db);
 }
Exemple #2
0
 public WorkOrdersController(
     IWorkOrderService workOrderService,
     IClientUserService clientUserService,
     IMainService mainService,
     IClientCustomerService clientCustomerService,
     IProductService productService,
     ICustomerLocationService customerLocationService,
     ICustomerService customerService
     )
 {
     _workOrderService        = workOrderService;
     _clientUserService       = clientUserService;
     _mainService             = mainService;
     _clientCustomerService   = clientCustomerService;
     _productService          = productService;
     _customerLocationService = customerLocationService;
     _customerService         = customerService;
 }
Exemple #3
0
 public ClientCustomersController(IClientCustomerService clientCustomerService)
 {
     _clientCustomerService = clientCustomerService;
 }