BB.UI.Web.MVC.Controllers.OrganisationsController.FollowOrganisation C# (CSharp) Méthode

FollowOrganisation() public méthode

public FollowOrganisation ( long organisationId, string email ) : System.Web.Mvc.ActionResult
organisationId long
email string
Résultat System.Web.Mvc.ActionResult
        public ActionResult FollowOrganisation(long organisationId, string email)
        {
            User user = userManager.ReadUser(email);
            userManager.CreateUserRole(user.Id, organisationId, Role.Follower);
            return new HttpStatusCodeResult(200);
        }