Beispiel #1
0
 public async Task <IActionResult> Get(string id) =>
 ModelResult(await _issuesService.GetById(id, CurrentUserId));
        public IHttpActionResult GetById(int id)
        {
            var issue = issuesService.GetById(id);

            return(Ok(issue));
        }