//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)); }
public IQueryable <BE.ReclamoConsultaDetalle> ListarTodas() { DAL.CRUDRefReclamoConsultaDetalle rec = new DAL.CRUDRefReclamoConsultaDetalle(); return(rec.ListarTodas()); }