public async Task <IActionResult> AddSchedule(string docId, Schedule schedule, string returnUrl) { await _doctorService.AddToSchedules(docId, schedule); return(RedirectToAction(nameof(ChangeSchedule), new { id = docId, returnUrl = returnUrl })); }