示例#1
0
        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());
        }
示例#2
0
 public UpdateDestination(Guid eventoId, Engaze.Core.DataContract.Location location)
     : base(eventoId)
 {
     this.Location = location;
 }