public ActionResult Assign(Assign assign) { MembershipUser mu = Membership.GetUser(assign.PublisherId); if (mu != null) { if (Roles.IsUserInRole(mu.UserName, "editor")) { contentManagerService.SendToReview(assign.ContentId, assign.PublisherId); } if (Roles.IsUserInRole(mu.UserName, "publisher")) { contentManagerService.SendToPublish(assign.ContentId, assign.PublisherId); } if (Roles.IsUserInRole(mu.UserName, "author")) { contentManagerService.SendToVerify(assign.ContentId, assign.PublisherId); } } return(Json(new { Success = true })); }