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