public BaseStatisticViewModel(IStatisticController statisticController , IOwnerAuthService ownerAuthService , IUserDialogs dialogs) { this._statisticController = statisticController; this._ownerAuthService = ownerAuthService; this._dialogs = dialogs; }
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; }
public OnlineSellersStatisticViewModel(IStatisticController statisticController , IOwnerAuthService ownerAuthService , IUserDialogs dialogs) : base(statisticController, ownerAuthService, dialogs) { }