Пример #1
0
 public void Post([FromBody] PateintModel patient)
 {
     int count = patientModelManager.RegisterPatient(patient);
 }
Пример #2
0
 public void Put(int id, [FromBody] PateintModel patient)
 {
     int count = patientModelManager.UpdatePatient(id, patient);
 }
Пример #3
0
        public PateintModel Get(int id)
        {
            PateintModel pateintDetails = patientModelManager.GetPatientDetailsBasedOnPId(id);

            return(pateintDetails);
        }