public ActionResult InviteUser()
        {
            var current      = TempData["CurrentInvite"] as User;
            var messageError = TempData["MessageError"];

            ViewBag.ItemsEnable = _command;

            var tenants = TenantManager.GetAll();

            var externalContextRoles = TempData["ExternalContextRole"] as Dictionary <string, string>;
            var roles = externalContextRoles ?? RoleManager.TenantRoleDescriptions as Dictionary <string, string>;

            ViewBag.Roles   = roles;
            ViewBag.Tenants = tenants;

            return(current == null && messageError == null?PartialView() : PartialView(current));
        }