CapRaffle.Controllers.DrawWinnerController.NotifyParticipants C# (CSharp) Метод

NotifyParticipants() приватный Метод

private NotifyParticipants ( int eventid ) : System.Web.Mvc.ActionResult
eventid int
Результат System.Web.Mvc.ActionResult
        public ActionResult NotifyParticipants(int eventid)
        {
            if (repository.NotifyParticipants(eventid))
            {
                this.Success("Winners are now notified");
            }
            else
            {
                this.Error("Something wrong happend, Is the smtp server configured, can it be down? Try again later");
            }
            return RedirectToAction("Details", "Event", new { id = eventid });
        }