public async Task <IHttpActionResult> GetCodeShort() { IEnumerable <Item> items = null; items = await _repo.GetRoleShort(); if (items.Count() == 0) { return(NotFound()); } return(Ok(items)); }