public ActionResult Delete(Models.Event deleteEvent) { CronofyHelper.DeleteEvent(deleteEvent.CalendarId, deleteEvent.EventId); return(new RedirectResult(String.Format("/calendars/show/{0}", deleteEvent.CalendarId))); }
public ActionResult Delete(Models.Event deleteEvent) { CronofyHelper.DeleteEvent(deleteEvent.CalendarId, deleteEvent.EventId); return(new RedirectResult(String.Format("/calendars/show/{0}", deleteEvent.CalendarId))); }