public IHttpActionResult Get(int id) { var model = service.GetSingle(c => c.TC_ID_COMPROBANTE == id); if (model != null) { return(Ok(model)); } return(NotFound()); }
public IHttpActionResult Get(int id) { var model = service.GetSingle(c => c.TC_ID_COMPROBANTE == id); if (model != null) { return(Ok(model)); } return(NotFound()); }