Adding a temporary work around for a bug in ValidationSummary html helper that surfaces during register page.

Cleaning up a Dispose method in one of the controllers - all others have been cleaned up before.
This commit is contained in:
Praburaj 2014-04-22 17:39:31 -07:00
parent 5ba60857a7
commit 1cc6445c49
2 changed files with 2 additions and 8 deletions

View File

@ -101,7 +101,8 @@ namespace MusicStore.Controllers
}
else
{
//https://github.com/aspnet/Identity/issues/37
return Json(result.Errors);
//https://github.com/aspnet/WebFx/issues/289
AddErrors(result);
}
}

View File

@ -142,12 +142,5 @@ namespace MusicStore.Controllers
db.SaveChanges();
return RedirectToAction("Index");
}
//Bug: Can't dispose db.
//protected override void Dispose(bool disposing)
//{
// db.Dispose();
// base.Dispose(disposing);
//}
}
}