Example #1
0
        public Event CreateSingleEvent()
        {
            var result = new Event
            {
                Repetition = repetitionFactory.CreateAndInit(RepetitionPeriod.None)
            };

            return(result);
        }
 public ActionResult <Repetition> CreateRepetition([FromQuery] RepetitionPeriod period)
 {
     return(repetitionFactory.CreateAndInit(period));
 }