コード例 #1
0
        public async Task <IActionResult> NotificationCreate(Notification notification)
        {
            db.Notifications.Add(notification);
            await db.SaveChangesAsync();

            return(RedirectToAction("Notification"));
        }