public IActionResult EditSeries(int id, [FromBody] EventSeriesModel eventSeriesModel) { var command = new Commands.EventSeriesCommands.Update(id, eventSeriesModel); ServiceActorRefs.CalendarServiceActor.Tell(command); return(Ok()); }
public IActionResult PostEventSeries([FromBody] EventSeriesModel eventSeriesModel) { var command = new Commands.EventSeriesCommands.Add(eventSeriesModel); ServiceActorRefs.CalendarServiceActor.Tell(command); return(Ok()); }