public ActionResult SendReminderEmail(int?id) { if (id.HasValue) { var review = ReviewObject.GetReview(id.Value); if (review != null) { review.SendReminderEmail(); return(GetReviewersList(review.MainId)); } } return(null); }
public ActionResult SendIndividualReminder(int?id) { if (id.HasValue) { var review = ReviewObject.GetReview(id.Value); if (review != null) { review.SendReminderEmail(); return(RedirectToAction("OutstandingReviews", new { sent = true })); } } return(RedirectToAction("OutstandingReviews", new { sent = false })); }
public ActionResult ReactivateReviewer(int?id) { int mid = 0; if (id.HasValue) { var review = ReviewObject.GetReview(id.Value); if (review != null) { mid = review.MainId; if (MainObject.CheckUserHasWriteAccess(mid)) { review.ReActivate(); } } } return(GetReviewersList(mid)); }