public IActionResult Delete(int id) { try { patientRepo.DischargePatient(id); return(Ok()); } catch (Exception) { return(NotFound()); } }
public IActionResult Delete(int id) { try { patientRepo.DischargePatient(id); return(Ok()); } catch (Exception) { return(NotFound()); } }