public SignInViewController(ISignInViewRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.ToLong(); this._UserId = view.UserId.ToInt(); this._OfficeId = view.OfficeId.ToInt(); this._Catalog = catalog; this.SignInViewRepository = repository; }
public SignInViewController(ISignInViewRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.ToLong(); this._UserId = view.UserId.ToInt(); this._OfficeId = view.OfficeId.ToInt(); this._Catalog = catalog; this.SignInViewRepository = repository; }
public SignInViewController() { this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong(); this._UserId = AppUsers.GetCurrent().View.UserId.ToInt(); this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt(); this._Catalog = AppUsers.GetCurrentUserDB(); this.SignInViewRepository = new MixERP.Net.Schemas.Office.Data.SignInView { _Catalog = this._Catalog, _LoginId = this._LoginId, _UserId = this._UserId }; }
public SignInViewController() { this._LoginId = AppUsers.GetCurrent().View.LoginId.To <long>(); this._UserId = AppUsers.GetCurrent().View.UserId.To <int>(); this._OfficeId = AppUsers.GetCurrent().View.OfficeId.To <int>(); this._Catalog = AppUsers.GetCatalog(); this.SignInViewRepository = new Frapid.Account.DataAccess.SignInView { _Catalog = this._Catalog, _LoginId = this._LoginId, _UserId = this._UserId }; }
public SignInViewController() { this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong(); this._UserId = AppUsers.GetCurrent().View.UserId.ToInt(); this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt(); this._Catalog = AppUsers.GetCurrentUserDB(); this.SignInViewRepository = new MixERP.Net.Schemas.Office.Data.SignInView { _Catalog = this._Catalog, _LoginId = this._LoginId, _UserId = this._UserId }; }
public SignInViewController() { this._LoginId = AppUsers.GetCurrent().View.LoginId.To<long>(); this._UserId = AppUsers.GetCurrent().View.UserId.To<int>(); this._OfficeId = AppUsers.GetCurrent().View.OfficeId.To<int>(); this._Catalog = AppUsers.GetCatalog(); this.SignInViewRepository = new Frapid.Account.DataAccess.SignInView { _Catalog = this._Catalog, _LoginId = this._LoginId, _UserId = this._UserId }; }
protected override void Initialize(HttpControllerContext context) { base.Initialize(context); if (this.SignInViewRepository == null) { this.SignInViewRepository = new Frapid.Account.DataAccess.SignInView { _Catalog = this.MetaUser.Catalog, _LoginId = this.MetaUser.LoginId, _UserId = this.MetaUser.UserId }; } }
protected override void Initialize(HttpControllerContext context) { base.Initialize(context); if (this.SignInViewRepository == null) { this.SignInViewRepository = new Frapid.Account.DataAccess.SignInView { _Catalog = this.MetaUser.Catalog, _LoginId = this.MetaUser.LoginId, _UserId = this.MetaUser.UserId }; } }
public SignInViewController(ISignInViewRepository repository) { this.SignInViewRepository = repository; }
public SignInViewController(ISignInViewRepository repository) { this.SignInViewRepository = repository; }