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