public Task <IActionResult> Put([FromRoute] int id, [FromBody] CalendarEventModel model) =>
 _facade
 .UpdateEvent(id, MapModel(model))
 .Match(x => NoContent(), MatchError);
 public Task <IActionResult> Post([FromBody] CalendarEventModel model) =>
 _facade
 .CreateEvent(MapModel(model))
 .Match(x => Created(Url.Action(nameof(GetById), new { id = x.Id }), MapToResource(x)), MatchError);