IAzureCosmosDBRepository.cs 357 B

1234567891011121314
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Threading.Tasks;
  5. namespace HaBookCms.AzureCosmos.CosmosDB.Interfaces
  6. {
  7. public interface IAzureCosmosDBRepository
  8. {
  9. Task<T> Save<T>(object entity);
  10. Task<T> Update<T>(object entity);
  11. Task<List<T>> Find<T>(string filedName, string value);
  12. }
  13. }