// add DTO code here
 //contructor to use private _repo
 public TaskScheduleController(ITaskScheduleRepository repo, IMapper mapper,
                               IWebHostEnvironment env)
 {
     _mapper = mapper;
     _repo   = repo;
     _env    = env;
 }
예제 #2
0
 public TaskScheduleService(ITaskScheduleRepository complaintsRepository, SessionHelper sessionHelper) : base(sessionHelper)
 {
     _TaskScheduleRepository = complaintsRepository;
 }