From bdfa66ec393bffcc744de37ee97715ff150bbb26 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 25 Mar 2017 19:53:09 -0400 Subject: [PATCH] cannot convert from anus to anus --- Project-Unite/Controllers/AdminController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project-Unite/Controllers/AdminController.cs b/Project-Unite/Controllers/AdminController.cs index f5b3041..ad8261c 100644 --- a/Project-Unite/Controllers/AdminController.cs +++ b/Project-Unite/Controllers/AdminController.cs @@ -128,7 +128,7 @@ public ActionResult BackupDatabase() backupData.UserId = User.Identity.GetUserId(); backupData.DownloadUrl = backupUrl; backupData.Timestamp = DateTime.Now; - db.AssetBackups.Add(backupData); + db.Backups.Add(backupData); db.SaveChanges(); return RedirectToAction("Backups"); } @@ -150,7 +150,7 @@ public ActionResult BackupAssets() backupData.UserId = User.Identity.GetUserId(); backupData.DownloadUrl = backupUrl; backupData.Timestamp = DateTime.Now; - db.Backups.Add(backupData); + db.AssetBackups.Add(backupData); db.SaveChanges(); return RedirectToAction("Backups"); }