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 });
}