public Doctor CreateDoctor(Doctor doctor) { var newDoctor = _context.AddAsync(doctor); _context.SaveChanges(); return(doctor); }
public Doctor CreateDoctor(Doctor doctor) { var newDoctor = _context.AddAsync(doctor); _context.SaveChanges(); return(doctor); }