コード例 #1
0
        public async Task <IHttpActionResult> GetAllRol()
        {
            var result = await accountbusiness.GetAllRol();

            if (result != null)
            {
                return(Ok(result));
            }
            return(Content(HttpStatusCode.InternalServerError, "Error"));
        }