public IHttpActionResult GetMedicamentosxReceta(int id) { MedicamentoxRecetaService con = new MedicamentoxRecetaService(); return(Ok(con.GetMedicamentosxReceta(id))); }
public void UpdateMedicamentoxReceta([FromBody] PedidoxMedicamento cFar) { MedicamentoxRecetaService con = new MedicamentoxRecetaService(); con.UpdateMedicamentoxReceta(cFar); }