public IHttpActionResult Get(long id) { var taskById = _taskByIdInquiryProcessor.GetTaskById(id); return(Ok(taskById)); }
public Task GetTaskById(long id) { var task = _taskByIdInquiryProcessor.GetTaskById(id); return(task); }