Exemplo n.º 1
0
 public GenericController(IRepositoryQualityControl <Entity> repo,
                          IMapper mapper)
 {
     this.repository = repo;
     this.mapper     = mapper;
     this.helper     = new HelpersClass <Entity>();
 }
Exemplo n.º 2
0
 public QualityControlWeldingController(IRepositoryQualityControl <QualityControlWelding> repo,
                                        IRepositoryMachine <ProjectCodeMaster> repoProjectMaster,
                                        IMapper mapper) :
     base(repo, mapper)
 {
     // Repository Machine
     this.repositoryProjectMaster = repoProjectMaster;
 }
Exemplo n.º 3
0
 public LocationQualityControlController(IRepositoryQualityControl <LocationQualityControl> repo,
                                         IRepositoryMachine <EmployeeGroupMis> repoGroupMis,
                                         IRepositoryQualityControl <WorkGroupHasWorkShop> repoWorkShop,
                                         IMapper mapper) : base(repo, mapper)
 {
     this.repositoryGroupMis = repoGroupMis;
     this.repositoryWorkShop = repoWorkShop;
 }
Exemplo n.º 4
0
 public UserController(
     IRepositoryMachine <User> repo,
     IRepositoryQualityControl <Permission> repoPermission, IMapper map) : base(repo, map)
 {
     //Machine
     this.repository = repo;
     //Painting
     this.repositoryPermission = repoPermission;
 }
 public QualityControlResultController(IRepositoryQualityControl <QualityControlResult> repo,
                                       IRepositoryQualityControl <RequireHasMasterProject> repoRequireHasMaster,
                                       IRepositoryQualityControl <RequireQualityControl> repoRequireRequireQualityControl,
                                       IRepositoryQualityControl <InspectionPoint> repoInspacetion,
                                       IRepositoryMachine <Employee> repoEmployee,
                                       IRepositoryMachine <ProjectCodeDetail> repoProject,
                                       IMapper mapper) : base(repo, mapper)
 {
     //Repository Machine
     this.repositoryEmployee = repoEmployee;
     this.repositoryProject  = repoProject;
     //Repository Quality Control
     this.repositoryRequireQualityControl = repoRequireRequireQualityControl;
     this.repositoryRequireHasMaster      = repoRequireHasMaster;
     this.repositoryInspection            = repoInspacetion;
     //Helper
     this.EmailClass = new EmailClass();
 }
Exemplo n.º 6
0
 public QualityControlResultController(IRepositoryQualityControl <QualityControlResult> repo,
                                       IRepositoryQualityControl <RequireHasMasterProject> repoRequireHasMaster,
                                       IRepositoryQualityControl <RequireQualityControl> repoRequireRequireQualityControl,
                                       IRepositoryQualityControl <InspectionPoint> repoInspacetion,
                                       IRepositoryQualityControl <WorkActivity> repoWorkActivity,
                                       IRepositoryMachine <Employee> repoEmployee,
                                       IRepositoryMachine <ProjectCodeDetail> repoProject,
                                       IRepositoryQualityControl <WorkGroupHasWorkShop> repoWorkShop,
                                       IRepositoryMachine <EmployeeGroupMis> repoGroupMis,
                                       IMapper mapper) : base(repo, mapper)
 {
     //Repository Machine
     this.repositoryEmployee = repoEmployee;
     this.repositoryProject  = repoProject;
     this.repositoryGroupMis = repoGroupMis;
     //Repository Quality Control
     this.repositoryRequireQualityControl = repoRequireRequireQualityControl;
     this.repositoryRequireHasMaster      = repoRequireHasMaster;
     this.repositoryInspection            = repoInspacetion;
     this.repositoryWorkActivity          = repoWorkActivity;
     this.repositoryWorkShop = repoWorkShop;
     //Helper
     this.EmailClass = new EmailClass();
 }
 public RequireQcMoreWorkActvityController(IRepositoryQualityControl <RequireQcMoreWorkActvity> repo,
                                           IMapper mapper) :
     base(repo, mapper)
 {
 }
Exemplo n.º 8
0
 public MasterProjectListController(IRepositoryQualityControl <MasterProjectList> repo,
                                    IRepositoryQualityControl <RequireHasMasterProject> repoRequireHasMl,
                                    IMapper mapper) : base(repo, mapper)
 {
     this.repositoryRequireHasMl = repoRequireHasMl;
 }
Exemplo n.º 9
0
 public WorkActivityController(IRepositoryQualityControl <WorkActivity> repo,
                               IMapper mapper) : base(repo, mapper)
 {
 }
 public WorkGroupQualityControlController(IRepositoryQualityControl <WorkGroupQualityControl> repo,
                                          IMapper mapper) : base(repo, mapper)
 {
 }
 public LocationQualityControlController(IRepositoryQualityControl <LocationQualityControl> repo,
                                         IMapper mapper) : base(repo, mapper)
 {
 }
 public BranchController(IRepositoryQualityControl <Branch> repo,
                         IMapper mapper) :
     base(repo, mapper)
 {
 }
 public InspectionPointController(IRepositoryQualityControl <InspectionPoint> repo,
                                  IMapper mapper) : base(repo, mapper)
 {
 }
Exemplo n.º 14
0
 public EmployeeGroupMisController(IRepositoryMachine <EmployeeGroupMis> repo,
                                   IRepositoryQualityControl <WorkGroupHasWorkShop> repoWorkShop,
                                   IMapper mapper) : base(repo, mapper)
 {
     this.repositoryWorkShop = repoWorkShop;
 }
 public QualityControlReasonController(IRepositoryQualityControl <QualityControlReason> repo,
                                       IMapper mapper) : base(repo, mapper)
 {
 }
 public RequireHasMasterProjectController(IRepositoryQualityControl <RequireHasMasterProject> repo,
                                          IMapper mapper) : base(repo, mapper)
 {
 }