Beispiel #1
0
        public SalespersonController(ISalespersonRepository repository, string catalog, LoginView view)
        {
            this._LoginId  = view.LoginId.ToLong();
            this._UserId   = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog  = catalog;

            this.SalespersonRepository = repository;
        }
        public SalespersonController(ISalespersonRepository repository, string catalog, LoginView view)
        {
            this._LoginId = view.LoginId.ToLong();
            this._UserId = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog = catalog;

            this.SalespersonRepository = repository;
        }
        public SalespersonController()
        {
            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.SalespersonRepository = new MixERP.Net.Schemas.Core.Data.Salesperson
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId = this._UserId
            };
        }
Beispiel #4
0
        public SalespersonController()
        {
            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.SalespersonRepository = new MixERP.Net.Schemas.Core.Data.Salesperson
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId  = this._UserId
            };
        }
 public SalespersonController(ISalespersonRepository salespersonItems)
 {
     SalespersonItems = salespersonItems;
 }
 public SalespersonsController(ISalespersonRepository salespeople)
 {
     _salespeople = salespeople;
 }
Beispiel #7
0
 public Writer(ISalespersonRepository salesRepo)
 {
     _salesRepo = salesRepo;
     _dbPath    = Directory.GetCurrentDirectory() + "\\salesperson.json";
 }
Beispiel #8
0
 public Assignor(ISalespersonRepository salesRepo)
 {
     _salesRepo = salesRepo;
 }
Beispiel #9
0
 public SalespersonController(ISalespersonRepository salespersonRepo)
 {
     _salespersonRepo = salespersonRepo;
 }
Beispiel #10
0
 public SalespersonsController(ISalespersonRepository salespersonRepository)
 {
     _salespersonRepository = salespersonRepository;
 }