public async Task <SaveResponse <IAuditUpload> > SaveAsync(IAuditUpload auditUpload) { var saveResponse = new SaveResponse <IAuditUpload>(); try { saveResponse = await _auditUploadRepository.SaveAsync(auditUpload); } catch (Exception ex) { Console.WriteLine(ex); saveResponse.AddError(ex); _logManager.LogError(ex, "Error saving auditUpload"); } return(saveResponse); }
public Task <ValidationResult> ValidateAsync(IAuditUpload auditUpload) { throw new NotImplementedException(); }