public async Task <IActionResult> Index() { CertificationListModel model = new CertificationListModel(); model.CertificationList = await _certificationBLL.GetListAsync(); return(View(model)); }
public async Task <IActionResult> Index() { //TestEmail(); HomeModel model = new HomeModel { AppSettings = _appSettings, ServiceSliderPath = "{0}/{1}/{2}", CertificationLogoPath = "{0}/{1}/{2}", AskAQuote = new AskAQuoteModel(), CertificationList = await _certificationBLL.GetListAsync(), ServiceList = await _serviceBLL.GetListAsync() }; return(View(model)); }