예제 #1
0
        public IActionResult addDoctor(Doctor doctor)
        {
            var res = _service.addDoctor(doctor);

            return(Ok(res));
        }
예제 #2
0
        public IActionResult PutDoctor(Doctor doctor)
        {
            _service.addDoctor(doctor);

            return(Ok("Doktor dodany"));
        }