Ejemplo n.º 1
0
 public HomeController(DbContext.CHISEntitiesSqlServer db
                       , Services.LoginService loginSvr,
                       Services.WeChatService weChatSvr,
                       Services.DoctorService docSvr
                       ) : base(db)
 {
     _loginSvr = loginSvr; _weChatSvr = weChatSvr; _docSvr = docSvr;
 }
Ejemplo n.º 2
0
 public ReservateController(Services.ReservationService resSvr
                            , Services.WorkStationService stationSvr
                            , Services.DoctorService docrSvr
                            , Services.CustomerService cusSvr
                            , Services.WeChatService wechatSvr
                            ) //: base(db)
 {
     _resSvr     = resSvr;
     _stationSvr = stationSvr;
     _cusSvr     = cusSvr;
     _docrSvr    = docrSvr;
     _weChatSvr  = wechatSvr;
 }