コード例 #1
0
 public IHttpActionResult GetPersona()
 {
     try
     {
         List <Persona> todos = PersonaBLL.List();
         return(Content(HttpStatusCode.OK, todos));
     }
     catch (Exception ex)
     {
         return(Content(HttpStatusCode.BadRequest, ex));
     }
 }