public ItemController(IRepositoryMaintenanceMk2 <Item> repo, IRepositoryMachineMk2 <Employee> repoEmp, IRepositoryMachineMk2 <EmployeeGroupMis> repoGroupMis, IRepositoryMaintenanceMk2 <ItemType> repoType, IRepositoryMaintenanceMk2 <RequireMaintenance> repoRequireMain, IRepositoryDapper <ItemViewModel> repoDapper, ExcelWorkBookService excelWorkBook, IHelperService helper, IHostingEnvironment hosting, IMapper mapper) : base(repo, mapper) { // Repository Machine this.repositoryEmp = repoEmp; this.repositoryGroupMis = repoGroupMis; // Repository Maintenance this.repositoryType = repoType; this.repositoryRequireMaintenance = repoRequireMain; // Dapper this.dapper = repoDapper; // Helper this.excelWorkBookService = excelWorkBook; this.helperService = helper; // Host this.hosting = hosting; }
public EmployeeController(IRepositoryMachineMk2 <Employee> repo, IHostingEnvironment hostingEnv, IMapper map) : base(repo) { this.mapper = map; this.hosting = hostingEnv; }
public UserController( IRepositoryMachineMk2 <User> repo, IRepositoryMaintenanceMk2 <Permission> repoPermission, IMapper map) : base(repo) { //Machine this.repository = repo; //Painting this.repositoryPermission = repoPermission; this.mapper = map; }
public RequisitionStockSpController(IRepositoryMaintenanceMk2 <RequisitionStockSp> repo, IRepositoryMaintenanceMk2 <MovementStockSp> repoMovement, IRepositoryMaintenanceMk2 <SparePart> repoSpare, IRepositoryMachineMk2 <Employee> repoEmployee, IMapper mapper) : base(repo, mapper) { // Repository this.repositoryMovement = repoMovement; this.repositorySpare = repoSpare; this.repositoryEmployee = repoEmployee; }
public UserController(IRepositoryMachineMk2 <User> repo, IRepositoryMaintenanceMk2 <Permission> repoPermission, IHostingEnvironment hostingEnv, IUserService user, IMapper map) : base(repo) { //Repository this.repositoryPermission = repoPermission; //Helper this.mapper = map; this.userService = user; this.hosting = hostingEnv; }
public ItemController(IRepositoryMaintenanceMk2 <Item> repo, IRepositoryMachineMk2 <Employee> repoEmp, IRepositoryMachineMk2 <EmployeeGroupMis> repoGroupMis, IRepositoryMaintenanceMk2 <ItemType> repoType, IRepositoryMaintenanceMk2 <RequireMaintenance> repoRequireMain, IMapper mapper) : base(repo, mapper) { // Repository Machine this.repositoryEmp = repoEmp; this.repositoryGroupMis = repoGroupMis; // Repository Maintenance this.repositoryType = repoType; this.repositoryRequireMaintenance = repoRequireMain; }
// GET: api/ItemHasCancel public ObsoleteItemController(IRepositoryMaintenanceMk2 <ObsoleteItem> repo, IRepositoryMaintenanceMk2 <Item> repoItem, IRepositoryMaintenanceMk2 <ObsoleteItemHasAttach> repoHasAttach, IRepositoryMachineMk2 <AttachFile> repoAttach, IRepositoryDapper <ObsoleteItemViewModel> repoDapper, IHostingEnvironment hosting, ExcelWorkBookService bookService, IMapper mapper) : base(repo, mapper) { //MaintenanceDatabase this.repositoryItem = repoItem; this.repositoryHasAttach = repoHasAttach; this.dapper = repoDapper; // MachineDatabase this.repositoryAttach = repoAttach; // Ihost this.hosting = hosting; // Helper this.bookService = bookService; }
public RequireMaintenanceController(IRepositoryMaintenanceMk2 <RequireMaintenance> repo, IRepositoryMachineMk2 <ProjectCodeMaster> repoPro, IRepositoryMachineMk2 <Employee> repoEmp, IRepositoryMachineMk2 <EmployeeGroupMis> repoGroupMis, IRepositoryMachineMk2 <AttachFile> repoAttach, IRepositoryMaintenanceMk2 <RequireMaintenanceHasAttach> repoHasAttach, IMapper mapper, IHostingEnvironment hostEnv ) : base(repo, mapper) { // Repository Machine this.repositoryEmployee = repoEmp; this.repositoryProject = repoPro; this.repositoryGroupMis = repoGroupMis; this.repositoryAttach = repoAttach; this.repositoryHasAttach = repoHasAttach; // Helper this.emailClass = new Helper.EmailClass(); // IHost this.hostEnvironment = hostEnv; }
public ProjectCodeMasterController(IRepositoryMachineMk2 <ProjectCodeMaster> repo) : base(repo) { }
public ItemMainHasEmployeeController(IRepositoryMaintenanceMk2 <ItemMainHasEmployee> repo, IRepositoryMachineMk2 <Employee> repoEmp, IMapper mapper) : base(repo, mapper) { this.repositoryEmployee = repoEmp; }
public EmployeeGroupMisController(IRepositoryMachineMk2 <EmployeeGroupMis> repo, IMapper map) : base(repo) { this.mapper = map; }
public GenericMachineController(IRepositoryMachineMk2 <Entity> repo) { this.repository = repo; this.helper = new HelpersClass <Entity>(); }