예제 #1
0
        private YearBonusAPI CreateYearBonusAPI()
        {
            _employee = Substitute.For <IEmployeeRepo>();
            _account  = Substitute.For <IAccountingRepo>();

            return(new YearBonusAPI(_employee, _account));
        }
예제 #2
0
 public YearBonusAPI(IEmployeeRepo employee, IAccountingRepo account)
 {
     _employee = employee;
     _account  = account;
 }
예제 #3
0
 public AccountingLogic(IIdentityLogic identityLogic, IAccountingRepo accountingRepo, IUserRepo userRepo)
 {
     _identityLogic  = identityLogic;
     _accountingRepo = accountingRepo;
     _userRepo       = userRepo;
 }
 public AccountingModel(IAccountingRepo accountRepo, IKaylaaRepository <Shop> shopRepo)
 {
     this.accountRepo = accountRepo;
     this.shopRepo    = shopRepo;
 }