示例#1
0
 public BaseStatisticViewModel(IStatisticController statisticController
                               , IOwnerAuthService ownerAuthService
                               , IUserDialogs dialogs)
 {
     this._statisticController = statisticController;
     this._ownerAuthService    = ownerAuthService;
     this._dialogs             = dialogs;
 }
示例#2
0
        public LoginViewModel(ISellerAuthService loginService
                              , IOwnerAuthService ownerAuthService
                              , IUserDialogs userArcDialogs)
        {
            this._loginService     = loginService;
            this._ownerAuthService = ownerAuthService;

            this._userArcDialogs = userArcDialogs;

            this.Username.Value = "*****@*****.**";
            this.Password.Value = "pp";

            this.RoleList = new NC <List <string> >(new List <string>()
            {
                RolesEnum.Продавец.ToString()
                , RolesEnum.Управляющий.ToString()
                , "Выберете роль"
            });

            CurrentRole.Changed += CurrentRole_Changed;
        }
示例#3
0
 public OnlineSellersStatisticViewModel(IStatisticController statisticController
                                        , IOwnerAuthService ownerAuthService
                                        , IUserDialogs dialogs)
     : base(statisticController, ownerAuthService, dialogs)
 {
 }