Beispiel #1
0
        public async Task <ActionResult> DeleteAsync(int id)
        {
            const string actionName = nameof(DeleteAsync);

            Logger.LogDebug(LoggingMessage.ProcessingRequestWithModel, actionName, id);
            await _orderAppService.DeleteAsync(id);

            Logger.LogInfomation(LoggingMessage.RequestResults, actionName);

            return(NoContent());
        }
Beispiel #2
0
 public Task DeleteAsync(Guid id)
 {
     return(_service.DeleteAsync(id));
 }
Beispiel #3
0
        public async Task <ActionResult> DeleteAsync([FromRoute] long id)
        {
            await _orderSrv.DeleteAsync(id);

            return(NoContent());
        }
Beispiel #4
0
 public Task DeleteAsync(Guid id)
 {
     return(_orderAppService.DeleteAsync(id));
 }