Exemplo n.º 1
0
        //private string PathTo_Home;
        public AccountController()
        {
            Dbconnection = WebConfigurationManager
                           .ConnectionStrings["TradersDB"].ConnectionString;

            _repositForAcc =
                RepositControllersExtension.getReferReposit(this);
            _repositForAcc.initialDBConnect(Dbconnection);
            itemsList = new List <Item>();
        }
Exemplo n.º 2
0
 // GET: Log
 public LogController()
 {
     _repositForLog =
         RepositControllersExtension.getReferReposit(this);
 }