public async Task <IActionResult> AppSettings() { CreateBreadCrumb(new[] { new { Name = "Home", ActionUrl = "#" }, new { Name = "Settings", ActionUrl = "/Account/AppSettings" } }); BaseViewModel VModel = null; var TempVModel = new SettingsVM { MailSettings = new MailSettingBM(), AppGeneralSettings = new GeneralSettingBM() }; var oMailSetup = await _AppSettingService.GetMailSetting().ConfigureAwait(false); TempVModel.MailSettings = oMailSetup; var oGeneralSetup = await _AppSettingService.GetAppGeneralSetting().ConfigureAwait(false); TempVModel.AppGeneralSettings = oGeneralSetup; VModel = await GetViewModel(TempVModel); return(View(VModel)); }