Esempio n. 1
0
 public CashTransactionController(ICashRepository cashRepository, ICashService cashService, IValidationDictionary validationDictionary, IConfiguration config,
                                  UserManager <ApplicationUser> userManager)
 {
     _cashRepository       = cashRepository;
     _cashService          = cashService;
     _validationDictionary = validationDictionary;
     _userManager          = userManager;
     _config = config;
 }
Esempio n. 2
0
 public ImagesController(IImagesService imagesService,
                         ICashService <Image> cashService,
                         IConfiguration Configuration)
 {
     this.imagesService = imagesService;
     this.cashService   = cashService;
     this.Configuration = Configuration;
     TimeSpan.TryParse(Configuration["TimeTolive"].Trim(), out timeTolive);
 }
Esempio n. 3
0
        public FrmmRetirement()
        {
            InitializeComponent();
            unitOfWork             = new UnitOfWork();
            _transactionRepository = unitOfWork.Repository <Transaction>();
            _mcoinRepository       = unitOfWork.Repository <MCoin>();

            _cashService = new CashService();
        }
Esempio n. 4
0
        public FrmFailedTransactions()
        {
            InitializeComponent();

            unitOfWork            = new UnitOfWork();
            _transactonRepository = unitOfWork.Repository <Transaction>();

            _cashService = new CashService();
        }
Esempio n. 5
0
 public SupplyService(ISupplyDataService dataService, IUserService userService,
                      IAccountTransactionActivityService accountTransactionActivityService,
                      ICreditorService creditorService, ITransactionService transactionService,
                      ICashService cashService)
 {
     this._dataService = dataService;
     this._userService = userService;
     this._accountTransactionActivityService = accountTransactionActivityService;
     this._creditorService    = creditorService;
     this._transactionService = transactionService;
     this._cashService        = cashService;
 }
Esempio n. 6
0
 /// <summary>
 /// ctor
 /// </summary>
 /// <param name="cashService"></param>
 /// <param name="receiptManager"></param>
 /// <param name="tillService"></param>
 /// <param name="reasonService"></param>
 /// <param name="policyManager"></param>
 /// <param name="loginManager"></param>
 /// <param name="resourceManager"></param>
 /// <param name="tenderManager"></param>
 /// <param name="saleManager"></param>
 public CashManager(ICashService cashService, IReceiptManager receiptManager, ITillService tillService,
                    IReasonService reasonService, IPolicyManager policyManager,
                    ILoginManager loginManager, IApiResourceManager resourceManager, ITenderManager tenderManager,
                    ISaleManager saleManager)
 {
     _cashService     = cashService;
     _receiptManager  = receiptManager;
     _reasonService   = reasonService;
     _policyManager   = policyManager;
     _loginManager    = loginManager;
     _resourceManager = resourceManager;
     _tillService     = tillService;
     _tenderManager   = tenderManager;
     _saleManager     = saleManager;
 }
Esempio n. 7
0
 public LeastItemsRequestHandler(ICashService cashService, IMapper mapper)
 {
     this.cashService = cashService;
     this.mapper      = mapper;
 }
 public CashApiController(ICashService cashService, IUserService userService)
 {
     this._cashService = cashService;
     this._userService = userService;
     userId            = Microsoft.AspNet.Identity.IdentityExtensions.GetUserId(RequestContext.Principal.Identity);
 }
 public HighestNumberRequestHandler(ICashService cashService)
 {
     this.cashService = cashService;
 }
Esempio n. 10
0
        public FrmDeposit()
        {
            InitializeComponent();

            _cashService = new CashService();
        }
Esempio n. 11
0
        protected override void InitializeDependencies()
        {
            base.InitializeDependencies();

            _cashService = App.Container.GetInstance <ICashService>();
        }