示例#1
0
 public IActionResult GetDoctor(DoctorDBContext context)
 {
     return(Ok(context.Doctors.ToList()));
 }
示例#2
0
 public DoctorsController(IDoctorsDBService service, DoctorDBContext context)
 {
     _service = service;
     _service.InitContext(context);
 }
示例#3
0
 public DoctorController(DoctorDBContext context)
 {
     _context = context;
 }
示例#4
0
 public void InitContext(DoctorDBContext _context)
 {
     context = _context;
 }