Esempio n. 1
0
        public async Task <IActionResult> AddDoctor(Doctor doctor)
        {
            await _context.Doctor.AddAsync(doctor);

            await _context.SaveChangesAsync();

            return(new OkResult());
        }