Esempio n. 1
0
 //Agregar
 public IHttpActionResult Agregar(BE.ReclamoConsultaDetalle rec)
 {
     if (!ModelState.IsValid)
     {
         return(BadRequest(ModelState));
     }
     DAL.CRUDRefReclamoConsultaDetalle oCRUDRec = new DAL.CRUDRefReclamoConsultaDetalle();
     try
     {
         oCRUDRec.Agregar(rec);
     }
     catch (Exception ex)
     {
         throw ex;
     }
     return(Ok(rec));
 }
Esempio n. 2
0
 public IQueryable <BE.ReclamoConsultaDetalle> ListarTodas()
 {
     DAL.CRUDRefReclamoConsultaDetalle rec = new DAL.CRUDRefReclamoConsultaDetalle();
     return(rec.ListarTodas());
 }