Added Notification System, Renamed Repository to Entities

This commit is contained in:
Keivan
2010-10-07 20:35:04 -07:00
parent 9c7355f3fb
commit 27d86a8540
43 changed files with 351 additions and 760 deletions
+17 -3
View File
@@ -1,11 +1,25 @@
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<System.Web.Mvc.HandleErrorInfo>" %>
<%@ Import Namespace="NLog" %>
<asp:Content ID="errorTitle" ContentPlaceHolderID="TitleContent" runat="server">
Error
EPIC FAIL!!!
</asp:Content>
<asp:Content ID="errorContent" ContentPlaceHolderID="MainContent" runat="server">
<h2>
Sorry, an error occurred while processing your request.
<%:Model.Exception.Message%>
</h2>
<br />
<%:Model.Exception.ToString()%>
</asp:Content>
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
try
{
LogManager.GetLogger("EPICFAIL").FatalException("Unhandled Exception", Model.Exception);
}
catch (Exception)
{
}
}
</script>