Exemplo n.º 1
0
        public async Task <IActionResult> Put(Guid id, [FromBody] string value)
        {
            var updateAggregateNameCommand =
                new UpdateAggregateName(id);

            var response = await this.messageSession.Request <RequestResponse>(updateAggregateNameCommand);

            if (!response.Success)
            {
                throw response.Exception;
            }

            return(NoContent());
        }
 public void Update(UpdateAggregateName command)
 {
     throw new NotImplementedException();
 }