public IHttpActionResult GetPersona() { try { List <Persona> todos = PersonaBLL.List(); return(Content(HttpStatusCode.OK, todos)); } catch (Exception ex) { return(Content(HttpStatusCode.BadRequest, ex)); } }
public IHttpActionResult GetPersona() { try { List <Persona> todos = PersonaBLL.List(); return(Content(HttpStatusCode.OK, todos)); } catch (Exception ex) { return(Content(HttpStatusCode.BadRequest, ex)); } }