Esempio n. 1
0
 public LookupController(
     IRepository <Point> pointRepository,
     IRepository <MeterEvent> meterEventRepository,
     ISiteService siteService,
     ISecurityGroupService securityGroupService,
     IMeterService meterService,
     IUserService userService,
     IAttributeService attributeService,
     ITechnicianService technicianService,
     ITeamService teamService,
     IItemService itemService,
     IAssetService assetService,
     IWorkOrderService workOrderService,
     ILocationService locationService,
     IStoreService storeService,
     IServiceRequestService serviceRequestService,
     ICompanyService companyService)
 {
     this._pointRepository       = pointRepository;
     this._meterEventRepository  = meterEventRepository;
     this._siteService           = siteService;
     this._securityGroupService  = securityGroupService;
     this._meterService          = meterService;
     this._userService           = userService;
     this._attributeService      = attributeService;
     this._technicianService     = technicianService;
     this._teamService           = teamService;
     this._itemService           = itemService;
     this._assetService          = assetService;
     this._workOrderService      = workOrderService;
     this._locationService       = locationService;
     this._storeService          = storeService;
     this._serviceRequestService = serviceRequestService;
     this._companyService        = companyService;
 }
Esempio n. 2
0
        public WorkOrderService(IArsOrganizationContext context, ITechnicianService technicianService, IOptionSetHelper optionSetHelper, ILogger logger)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            if (technicianService == null)
            {
                throw new ArgumentNullException("technicianService");
            }

            if (optionSetHelper == null)
            {
                throw new ArgumentNullException("optionSetHelper");
            }

            if (logger == null)
            {
                throw new ArgumentNullException("logger");
            }

            _context           = context;
            _technicianService = technicianService;
            _optionSetHelper   = optionSetHelper;
            _logger            = logger;
        }
Esempio n. 3
0
 public TechnicianController(UserManager <User> userManager,
                             ITechnicianService technicianService,
                             IMapper mapper)
 {
     this.userManager       = userManager;
     this.technicianService = technicianService;
     this.mapper            = mapper;
 }
Esempio n. 4
0
 public HomeController(ISystemLog Logger,
                       ITechnicianService TechnicianService,
                       IBaseRepository <DataBase.TASSETS, Tassets> BaseRepo)
 {
     _logger            = Logger;
     _baseRepo          = BaseRepo;
     _technicianService = TechnicianService;
 }
 public TechnicianController(ISystemLog Logger,
                             IVendorService VendorService,
                             ITechnicianService TechnicianService,
                             IBaseRepository <DataBase.TVenderTechnician, TvenderTechnician> TechnicianRepo)
 {
     _logger            = Logger;
     _technicianRepo    = TechnicianRepo;
     _technicianService = TechnicianService;
     _vendorService     = VendorService;
 }
 public TechnicianController(Logger.Service.ISystemLog Logger,
                             ITechnicianService TechnicianService,
                             IBaseRepository <DataBase.TVenderTechnician, TvenderTechnician> TechnicianRepo,
                             IBaseRepository <DataBase.TTechnicianGroup, TtechnicianGroup> TechnicianGroupRepo)
 {
     _logger              = Logger;
     _technicianRepo      = TechnicianRepo;
     _technicianService   = TechnicianService;
     _technicianGroupRepo = TechnicianGroupRepo;
 }
Esempio n. 7
0
 public ProjectService(IDbContext context,
                       ITechnicianService technicianService,
                       IStatutoryHolidayService statutoryHolidayService,
                       ILogService logService)
     : base(context)
 {
     _context                 = context;
     _technicianService       = technicianService;
     _statutoryHolidayService = statutoryHolidayService;
     _logService              = logService;
 }
Esempio n. 8
0
 public RepairTaskController(ITechnicianService technicianService,
                             IRepairTaskService repairTaskService,
                             IPartService partService,
                             IFeedbackService feedbackService,
                             IMapper mapper)
 {
     this.technicianService = technicianService;
     this.repairTaskService = repairTaskService;
     this.partService       = partService;
     this.feedbackService   = feedbackService;
     this.mapper            = mapper;
 }
Esempio n. 9
0
        public PurchaseOrderService(IArsOrganizationContext context, ITechnicianService technicianService)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            if (technicianService == null)
            {
                throw new ArgumentNullException("technicianService");
            }

            _context           = context;
            _technicianService = technicianService;
        }
Esempio n. 10
0
 public TechnicianController(IRepository<Technician> technicianRepository,
     IRepository<Team> teamRepository,
     ITechnicianService technicianService,
     ILocalizationService localizationService,
     IPermissionService permissionService,
     HttpContextBase httpContext,
     IWorkContext workContext,
     IDbContext dbContext)
 {
     this._teamRepository = teamRepository;
     this._technicianRepository = technicianRepository;
     this._localizationService = localizationService;
     this._technicianService = technicianService;
     this._permissionService = permissionService;
     this._httpContext = httpContext;
     this._workContext = workContext;
     this._dbContext = dbContext;
 }
Esempio n. 11
0
 public TechnicianFinishedRepairTasksViewComponent(ITechnicianService technicianService,
                                                   IMapper mapper)
 {
     this.technicianService = technicianService;
     this.mapper            = mapper;
 }
 public TechnicianController(ITechnicianService service)
 {
     _service = service;
 }