//private string PathTo_Home; public AccountController() { Dbconnection = WebConfigurationManager .ConnectionStrings["TradersDB"].ConnectionString; _repositForAcc = RepositControllersExtension.getReferReposit(this); _repositForAcc.initialDBConnect(Dbconnection); itemsList = new List <Item>(); }
// GET: Log public LogController() { _repositForLog = RepositControllersExtension.getReferReposit(this); }