public void Post([FromBody] PateintModel patient) { int count = patientModelManager.RegisterPatient(patient); }
public void Put(int id, [FromBody] PateintModel patient) { int count = patientModelManager.UpdatePatient(id, patient); }
public PateintModel Get(int id) { PateintModel pateintDetails = patientModelManager.GetPatientDetailsBasedOnPId(id); return(pateintDetails); }