public CustomerLocationService(IClientUserService clientUserService, IClientCustomerService clientCustomerService) { _clientUserService = clientUserService; _clientCustomerService = clientCustomerService; _db = new ApplicationDbContext(); _currentUserId = HttpContext.Current.User.Identity.GetUserId(); _unitOfWork = new UnitOfWork(_db); }
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; }
public ClientCustomersController(IClientCustomerService clientCustomerService) { _clientCustomerService = clientCustomerService; }