/// <summary> /// Updates a dive log entry in the database /// </summary> /// <param name="dive">The dive log entry to save</param> public async Task UpdateDiveLogEntryAsync(DiveLogRecord dive) { await OperationAsync(ctx => ctx.UpdateAsync(dive)); }
/// <summary> /// Inserts a new dive log entry into the database /// </summary> /// <param name="dive">The dive log entry to save</param> public async Task InsertDiveLogEntryAsync(DiveLogRecord dive) { await OperationAsync(ctx => ctx.InsertAsync(dive)); }