Exemplo n.º 1
0
 public DepartmentController(DataContext context, ICrudService <Department> departmentService, ICustomFilterService <Department> filterService, IMapper mapper)
 {
     this.context           = context;
     this.departmentService = departmentService;
     this.filterService     = filterService;
     this.mapper            = mapper;
 }
Exemplo n.º 2
0
 public SubCategoryController(DataContext context, IMapper mapper, ICrudService <SubCategories> subCategoryService, ICustomFilterService <SubCategories> filterService)
 {
     this.context            = context;
     this.mapper             = mapper;
     this.subCategoryService = subCategoryService;
     this.filterService      = filterService;
 }
Exemplo n.º 3
0
 public CategoryController(DataContext context, IMapper mapper, ICrudService <Category> categoryService, ICustomFilterService <Category> filterService)
 {
     this.context         = context;
     this.mapper          = mapper;
     this.categoryService = categoryService;
     this.filterService   = filterService;
 }
Exemplo n.º 4
0
 public IssueController(DataContext context, IMapper mapper, ICrudService <Issue> issueService, ICustomFilterService <Issue> filterService, IssueHelperFunction issueHelperFunction, ICrudService <SubCategories> subCategoryService)
 {
     this.context             = context;
     this.mapper              = mapper;
     this.issueService        = issueService;
     this.filterService       = filterService;
     this.issueHelperFunction = issueHelperFunction;
     this.subCategoryService  = subCategoryService;
 }
Exemplo n.º 5
0
        public CustomFilterModule(ICustomFilterService customFilterService)
        {
            _customFilterService = customFilterService;

            GetResourceById = GetCustomFilter;
            GetResourceAll  = GetCustomFilters;
            CreateResource  = AddCustomFilter;
            UpdateResource  = UpdateCustomFilter;
            DeleteResource  = DeleteCustomResource;
        }
Exemplo n.º 6
0
        public DefectsController(
            IDefectApiService defectService,
            IMapper mapper,
            IImageApiService imageService,
            IFilterService filterService,
            IImportDefectService importDefectService,
            IFileUploadApiService fileUploadService,
            ICustomFilterService customFilterService,
            IDefectChangeLogService defectChangeLogService)

        {
            _defectService          = defectService;
            _mapper                 = mapper;
            _imageService           = imageService;
            _filterService          = filterService;
            _importDefectService    = importDefectService;
            _fileUploadService      = fileUploadService;
            _defectChangeLogService = defectChangeLogService;
            _customFilterService    = customFilterService;
        }
 public CustomFilterController(ICustomFilterService customFilterService, IMapper mapper)
 {
     _customFilterService = customFilterService;
     _mapper = mapper;
 }
Exemplo n.º 8
0
 public CustomFilterController(ICustomFilterService customFilterService)
 {
     _customFilterService = customFilterService;
 }