예제 #1
0
        public async Task <IHttpActionResult> GetAll()
        {
            var result = await accountbusiness.GetAll();

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