BExIS.Web.Shell.Areas.SAM.Controllers.TenantsController.Activate C# (CSharp) Method

Activate() public method

If the tenat is not active, activates it and returns to the list action with updated information reports any problem, otherwise
public Activate ( string id ) : System.Web.Mvc.ActionResult
id string
return System.Web.Mvc.ActionResult
        public ActionResult Activate(string id)
        {
            ITenantRegistrar tenantRegistrar = MultiTenantFactory.GetTenantRegistrar();
            tenantRegistrar.Activate(id);
            return View();
        }