Esempio n. 1
0
        public ActionResult DeleteEvent(Guid calendarEventID)
        {
            try
            {
                Exigo.DeleteCalendarEvent(calendarEventID);

                return(new JsonNetResult(new
                {
                    success = true,
                }));
            }
            catch (Exception ex)
            {
                return(new JsonNetResult(new
                {
                    success = false,
                    message = ex.Message
                }));
            }
        }
        public ActionResult DeleteEvent(Guid eventid)
        {
            Exigo.DeleteCalendarEvent(eventid, Identity.Current.CustomerID);

            return(RedirectToAction("Calendar"));
        }