// GET: /TenantEmailConfig/ public ActionResult Index() { if (!caSession.AuthoriseSession()) { return(Redirect((string)Session["ErrorUrl"])); } // get properties of tenant caTenant tenant = caCurrent.CurrentTenant(); return(View(_tenantEmailConfigService.GetAllEmialConfigByTenant(tenant.TenantId))); }
// GET: TenantEmailConfigs public ActionResult Index() { var tenantEmailConfigs = _tenantEmailConfigServices.GetAllEmialConfigByTenant(caCurrent.CurrentTenant().TenantId); return(View(tenantEmailConfigs)); }