public CustomersLocationsController(ICustomerLocationService service, IRequestDocReader docReader, ICRUDService crudService) : base(crudService)
 {
     _service            = service;
     _crudService        = crudService;
     _docReader          = docReader;
     Searchfields        = new[] { new CrudSearchFieldType("Name", CrudSearchFieldType.Method.Contains) };
     Searchchildincludes = new[] { "Customer", "ServiceArea", "Address" };
     Getbyincludes       = new[] { "Customer", "ServiceArea", "Address" };
     Orderby             = "Name";
 }
Exemplo n.º 2
0
 public MainService(
     ICustomerService customerService,
     ICustomerLocationService customerLocationService,
     IProductService productService,
     IClientUserService clientUserService)
 {
     _customerService         = customerService;
     _customerLocationService = customerLocationService;
     _productService          = productService;
     _clientUserService       = clientUserService;
 }
Exemplo n.º 3
0
        public CustomerLocationOrchestra(ICustomerLocationService locationService,
                                         ICustomerDepartmentService departmentService,
                                         ISetupLocalService setupLocalService,
                                         IAddressService addressService,
                                         INoteService noteService)
        {
            _locationService   = locationService;
            _departmentService = departmentService;
            var setting = setupLocalService.Find("ServerCode");

            _serverCode     = setting != null ? setting.SetupValueNvarchar : "L";
            _addressService = addressService;
            _noteService    = noteService;
        }
Exemplo n.º 4
0
        public CustomerDepartmentOrchestra(ICustomerDepartmentService customerDepartmentService,
                                           ICustomerDepartmentLocationService customerDepartmentLocationService,
                                           ICustomerLocationService customerLocationService,
                                           ISetupLocalService setupLocalService, INoteService noteService,
                                           ICustomerService customerService)
        {
            _customerDepartmentService         = customerDepartmentService;
            _customerService                   = customerService;
            _customerDepartmentLocationService = customerDepartmentLocationService;
            _customerLocationService           = customerLocationService;
            var setting = setupLocalService.Find("ServerCode");

            _serverCode  = setting != null ? setting.SetupValueNvarchar : "L";
            _noteService = noteService;
        }
 public WorkOrderService(
     IClientUserService clientUserService,
     IProductService productService,
     ICustomerLocationService customerLocationService,
     ICustomerService customerService
     )
 {
     _db = new ApplicationDbContext();
     _clientUserService       = clientUserService;
     _productService          = productService;
     _customerLocationService = customerLocationService;
     _customerService         = customerService;
     _currentUserId           = HttpContext.Current.User.Identity.GetUserId();
     _unitOfWork  = new UnitOfWork(_db);
     _userManager = new UserManager <ApplicationUser>(new UserStore <ApplicationUser>(_db));
 }
Exemplo n.º 6
0
 public JobController(IReviewAndRatingService ReviewAndRatingService, IRequestService RequestService, ICategoryService CategoryService, ICustomerService CustomerServices,
                      IUserService UserService, IRoleService RoleService, IFormService FormService, IRoleDetailService RoleDetailService, IUserRoleService UserRoleService,
                      IAgencyIndividualService AgencyIndividualService, IAgencyJobService AgencyJobService, ICustomerLocationService CustomerLocationService, ICustomerPaymentService CustomerPaymentService)
     : base(UserService, RoleService, FormService, RoleDetailService, UserRoleService)
 {
     this._ReviewAndRatingService  = ReviewAndRatingService;
     this._CategoryService         = CategoryService;
     this._RequestService          = RequestService;
     this._UserRoleService         = UserRoleService;
     this._UserService             = UserService;
     this._CustomerService         = CustomerServices;
     this._AgencyIndividualService = AgencyIndividualService;
     this._AgencyJobService        = AgencyJobService;
     this._CustomerLocationService = CustomerLocationService;
     this._CustomerPaymentService  = CustomerPaymentService;
 }
Exemplo n.º 7
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;
 }
 public AgencyController(IRequestService RequestService, ICategoryService CategoryService, ICustomerService CustomerServices,
                         IUserService UserService, IRoleService RoleService, IFormService FormService, IRoleDetailService RoleDetailService, IUserRoleService UserRoleService,
                         IAgencyIndividualService AgencyIndividualService, IAgencyJobService AgencyJobService, ICustomerLocationService CustomerLocationService, INotificationService NotificationService)
     : base(UserService, RoleService, FormService, RoleDetailService, UserRoleService)
 {
     this._CategoryService         = CategoryService;
     this._RequestService          = RequestService;
     this._UserRoleService         = UserRoleService;
     this._UserService             = UserService;
     this._CustomerService         = CustomerServices;
     this._AgencyIndividualService = AgencyIndividualService;
     this._AgencyJobService        = AgencyJobService;
     this._CustomerLocationService = CustomerLocationService;
     this._NotificationService     = NotificationService;
 }
 public CustomerLocationsController(ICustomerLocationService customerLocationService)
 {
     _customerLocationService = customerLocationService;
 }
Exemplo n.º 10
0
 public CustomersController(IMainService mainService, ICustomerService customerService, ICustomerLocationService customerLocationService)
 {
     _mainService             = mainService;
     _customerService         = customerService;
     _customerLocationService = customerLocationService;
 }