Beispiel #1
0
        public IHttpActionResult GetById(int id)
        {
            Role role = _roleService.GetById(id);

            if (role == null)
            {
                return(NotFound());
            }
            return(Ok(role));
        }