mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-23 01:32:16 +00:00
cannot convert from anus to anus
This commit is contained in:
parent
428579cf6b
commit
bdfa66ec39
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ public ActionResult BackupDatabase()
|
||||||
backupData.UserId = User.Identity.GetUserId();
|
backupData.UserId = User.Identity.GetUserId();
|
||||||
backupData.DownloadUrl = backupUrl;
|
backupData.DownloadUrl = backupUrl;
|
||||||
backupData.Timestamp = DateTime.Now;
|
backupData.Timestamp = DateTime.Now;
|
||||||
db.AssetBackups.Add(backupData);
|
db.Backups.Add(backupData);
|
||||||
db.SaveChanges();
|
db.SaveChanges();
|
||||||
return RedirectToAction("Backups");
|
return RedirectToAction("Backups");
|
||||||
}
|
}
|
||||||
|
@ -150,7 +150,7 @@ public ActionResult BackupAssets()
|
||||||
backupData.UserId = User.Identity.GetUserId();
|
backupData.UserId = User.Identity.GetUserId();
|
||||||
backupData.DownloadUrl = backupUrl;
|
backupData.DownloadUrl = backupUrl;
|
||||||
backupData.Timestamp = DateTime.Now;
|
backupData.Timestamp = DateTime.Now;
|
||||||
db.Backups.Add(backupData);
|
db.AssetBackups.Add(backupData);
|
||||||
db.SaveChanges();
|
db.SaveChanges();
|
||||||
return RedirectToAction("Backups");
|
return RedirectToAction("Backups");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue