예제 #1
0
        public async Task <IActionResult> DeleteConfirmed(int id, bool sendNotification)
        {
            Notification notification = GetNotificationInfo(sendNotification);

            await _meetingService.DeleteToDo(id, notification);

            return(RedirectToAction(nameof(Index), new { meetingId = HttpContext.Request.Form["meetingId"], initial = true }));
        }