Ejemplo n.º 1
0
        public async Task <IHttpActionResult> GetAllType()
        {
            var result = await accountbusiness.GetAllType();

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