public async Task <Service> GetServiceByID(string id)
        {
            Service ThisService = await CosmosRepository <Service> .GetItemAsync(id);

            return(ThisService);
        }
Esempio n. 2
0
        public async Task <Stories> GetStoryByID(string id)
        {
            Stories ThisStory = await CosmosRepository <Stories> .GetItemAsync(id);

            return(ThisStory);
        }