public IHttpActionResult Get(long id)
        {
            var taskById = _taskByIdInquiryProcessor.GetTaskById(id);

            return(Ok(taskById));
        }
Exemple #2
0
        public Task GetTaskById(long id)
        {
            var task = _taskByIdInquiryProcessor.GetTaskById(id);

            return(task);
        }