public void CreateMedicalReportAppointment(MedicalReportAppointment MedicalReportAppointment) { _context.medicalReportAppointments.Add(MedicalReportAppointment); _context.SaveChanges(); }
public ActionResult CreateDoctor(MedicalReportAppointment MedicalReportAppointment) { _repo.CreateMedicalReportAppointment(MedicalReportAppointment); return(NoContent()); }