Last active
February 14, 2020 11:48
-
-
Save karthikeyanVK/3e5a8df811b61fcff072e37a3e1e618d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Threading.Tasks; | |
namespace PetShop.DBAccess.CosmosDB | |
{ | |
public interface ICosmosDbService | |
{ | |
Task AddItemAsync<T>(T item, string id); | |
Task<T> GetItemAsync<T>(string id); | |
Task<IEnumerable<T>> GetItemsAsync<T>(string queryString); | |
Task UpdateItemAsync<T>(string id, T item); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment