private YearBonusAPI CreateYearBonusAPI() { _employee = Substitute.For <IEmployeeRepo>(); _account = Substitute.For <IAccountingRepo>(); return(new YearBonusAPI(_employee, _account)); }
public YearBonusAPI(IEmployeeRepo employee, IAccountingRepo account) { _employee = employee; _account = account; }
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; }