namespace AuthorBuddy.Web.Services; public class DbCollectionInfo { public string Name { get; set; } = string.Empty; public int Count { get; set; } } public class DbRecord { public int Id { get; set; } public Dictionary Fields { get; set; } = new(); } public interface IDbAdminService { List GetCollections(); List GetAll(string collectionName); bool Update(string collectionName, int id, Dictionary values); bool Delete(string collectionName, int id); }