Esempio n. 1
0
 public FeeManageService(IWorkContext workContext, IFeeTypeRepository feeTypeRepository,
                         IWayBillInfoRepository wayBillInfoRepository)
 {
     _workContext           = workContext;
     _feeTypeRepository     = feeTypeRepository;
     _wayBillInfoRepository = wayBillInfoRepository;
 }
Esempio n. 2
0
        public FeeTypeController(IFeeTypeRepository repository, string catalog, LoginView view)
        {
            this._LoginId = view.LoginId.To<long>();
            this._UserId = view.UserId.To<int>();
            this._OfficeId = view.OfficeId.To<int>();
            this._Catalog = catalog;

            this.FeeTypeRepository = repository;
        }
Esempio n. 3
0
        public FeeTypeController(IFeeTypeRepository repository, string catalog, LoginView view)
        {
            this._LoginId  = view.LoginId.To <long>();
            this._UserId   = view.UserId.To <int>();
            this._OfficeId = view.OfficeId.To <int>();
            this._Catalog  = catalog;

            this.FeeTypeRepository = repository;
        }
Esempio n. 4
0
        public FeeTypeController()
        {
            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.FeeTypeRepository = new Extems.Admission.DataAccess.FeeType
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId = this._UserId
            };
        }
Esempio n. 5
0
        public FeeTypeController()
        {
            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.FeeTypeRepository = new Extems.Admission.DataAccess.FeeType
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId  = this._UserId
            };
        }