public Task Get(long id) { var modelTask = _taskFetcher.GetTask(id); var task = _taskMapper.CreateTask(modelTask); return(task); }
public IEnumerable <Category> Get(long taskId) { var task = _taskFetcher.GetTask(taskId); return(task .Categories .Select(_categoryMapper.CreateCategory) .ToList()); }
public IEnumerable <User> Get(long taskId) { var task = _taskFetcher.GetTask(taskId); return(task .Users .Select(_userMapper.CreateUser) .ToList()); }
public Priority Get(long taskId) { var task = _taskFetcher.GetTask(taskId); return(_priorityMapper.CreatePriority(task.Priority)); }
public Status Get(long taskId) { var task = _taskFetcher.GetTask(taskId); return(_statusMapper.CreateStatus(task.Status)); }