Ejemplo n.º 1
0
 /// <summary>
 /// 通过构造函数注入需要使用到的BLL
 /// </summary>
 /// <param name="login"></param>
 /// <param name="wzzmodel"></param>
 /// <param name="user"></param>
 public HomeController(ILoginBLL login, IWZZModelBLL wzzmodel, IUserBLL user, IVisitAmountBLL visitAmountBLL)
 {
     _login       = login;
     _wzzmodel    = wzzmodel;
     _user        = user;
     _visitamount = visitAmountBLL;
 }
Ejemplo n.º 2
0
 public HomeController(
     IWZZModelBLL wZZModelBLL,
     IRotationChartBLL rotationChartBLL,
     IWebStationSettingBLL webbll,
     IArticleBLL article,
     IVisitAmountBLL visit)
 {
     _WZZModelBLL      = wZZModelBLL;
     _rotationChartBLL = rotationChartBLL;
     _webbll           = webbll;
     _article          = article;
     _visit            = visit;
 }