public RecurringEvent PostSave(RecurringEvent nevent)
        {
            var ctrl = new DescriptionApiController();

            if (nevent.Id > 0)
            {
                return RecurringEventService.UpdateEvent(nevent);
            }
            else
            {
                return RecurringEventService.CreateEvent(nevent);
            }
        }
Exemplo n.º 2
0
        public RecurringEvent PostSave(RecurringEvent nevent)
        {
            var ctrl = new DescriptionApiController();

            if (nevent.Id > 0)
            {
                return(RecurringEventService.UpdateEvent(nevent));
            }
            else
            {
                return(RecurringEventService.CreateEvent(nevent));
            }
        }