public SupportTicketAdminController() { try { iSupportTicket = new SupportTicketRepository(); } catch (Exception ex) { Utility.WriteLog("SupportTicketAdminController (Admin)", null, "Error while initialize repository.", ex.ToString()); } }
public SupportTicketUserController() { try { iSupportTicket = new SupportTicketRepository(); iAuthorWriteUpDetail = new AuthorWriteUpDetailRepository(); } catch (Exception ex) { Utility.WriteLog("SupportTicketUserController (User)", null, "Error while initialize repository.", ex.ToString()); } }