Example #1
0
        public IActionResult Amodify(Doctor s)
        {
            int h = 0;

            if (s.DoctorId <= 0)
            {
                h = _bll.DoctorAdd(s);
            }
            else
            {
                h = _bll.DoctorUpd(s);
            }
            return(Ok(new { count = h }));
        }