Example #1
0
        public async Task <IHttpActionResult> GetRolesMaster(int id)
        {
            Roles role = (Roles)await roles.GetRole(id);

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

            return(Ok(role));
        }