Ejemplo n.º 1
0
 public TrainingController(
     IMapper mapper,
     IHttpContextAccessor context,
     IHttpClientService httpClientService,
     ITrainingCategoryService trainingCategoryService)
     : base(httpClientService, context)
 {
     this.mapper = mapper;
     this.trainingCategoryService = trainingCategoryService;
 }
 public TrainingTemplateService(
     IMapper mapper,
     IUserService userService,
     ITrainingCategoryService trainingCategoryService,
     IRepository <TrainingTemplate> traingingTemplateRepository,
     IPaginationService <TrainingTemplate, TrainingTemplateDto> paginationService)
 {
     this.mapper                      = mapper;
     this.userService                 = userService;
     this.paginationService           = paginationService;
     this.trainingCategoryService     = trainingCategoryService;
     this.traingingTemplateRepository = traingingTemplateRepository;
 }
Ejemplo n.º 3
0
 public TrainingCategoryController(ITrainingCategoryService trainingCategoryService)
 {
     this.trainingCategoryService = trainingCategoryService;
 }