Beispiel #1
0
 public async Task Delete(ItemDeleteDto dto)
 {
     var command = new PostDeleteCommand()
     {
         Input = dto
     };
     await CommandBus.SendAsync(command);
 }
Beispiel #2
0
 public async Task CommentDelete(Guid id)
 {
     var dto = new ItemDeleteDto()
     {
         Id = id
     };
     var command = new CommentDeleteCommand()
     {
         Input = dto
     };
     await CommandBus.SendAsync(command);
 }