public TaskService(IRepoFactory repoFactory, IMapper mapper) { this.mapper = mapper; this.taskRepo = repoFactory.GetTaskRepo(); }