public async Task <IActionResult> UpdateDestinationAsync([FromRoute] Guid eventId, [FromBody] Engaze.Core.DataContract.Location location) { await CommandDispatcher.Dispatch <Evento>(new UpdateDestination(eventId, location)); return(new OkResult()); }
public UpdateDestination(Guid eventoId, Engaze.Core.DataContract.Location location) : base(eventoId) { this.Location = location; }