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()); }
public Task DeleteAsync(Guid id) { return(_service.DeleteAsync(id)); }
public async Task <ActionResult> DeleteAsync([FromRoute] long id) { await _orderSrv.DeleteAsync(id); return(NoContent()); }
public Task DeleteAsync(Guid id) { return(_orderAppService.DeleteAsync(id)); }