Permissions & Authorization for Users #24

Initial Release; Includes Database and MVC refactoring
This commit is contained in:
Gary Sharp
2013-10-10 19:13:16 +11:00
parent 172ce5524a
commit a099d68915
458 changed files with 40221 additions and 12130 deletions
+3 -3
View File
@@ -49,12 +49,12 @@ namespace Disco.Data.Migrations
public static void SeedDatabase()
{
// Seed/Update Database
using (DiscoDataContext dbContext = new DiscoDataContext())
using (DiscoDataContext database = new DiscoDataContext())
{
dbContext.SeedDatabase();
database.SeedDatabase();
try
{
dbContext.SaveChanges();
database.SaveChanges();
}
catch (Exception ex)
{