public async Task <DeleteResponse> DeleteAllAsync(int auditId, int entityId, int locationId) { var deleteResponse = new DeleteResponse(); try { deleteResponse = await _salesRepository.DeleteAllAsync(auditId, entityId, locationId); } catch (Exception ex) { Console.WriteLine(ex); deleteResponse.AddError(ex); _logManager.LogError(ex, "Unable to delete sales"); } return(deleteResponse); }