public async Task <IActionResult> Index() { return(View(new RuleViewModel { Rules = await ruleRepository.GetAllRules(), Allowances = await monthlyAllowanceRuleRepository.GetAllMonthlyAllowanceRules() })); }
public async Task <IActionResult> Index() { return(View(new RuleViewModel { Rules = await ruleRepository.GetAllRules(), Allowances = await monthlyAllowanceRuleRepository.GetAllMonthlyAllowanceRules() })); }