public async Task GetById()

in Webapp/SDAF/Controllers/LandscapeController.cs [137:143]


        public async Task<LandscapeModel> GetById(string id, string partitionKey)
        {
            if (id == null || partitionKey == null) throw new ArgumentNullException();
            var landscapeEntity = await _landscapeService.GetByIdAsync(id, partitionKey);
            if (landscapeEntity == null || landscapeEntity.Landscape == null) throw new KeyNotFoundException();
            return JsonConvert.DeserializeObject<LandscapeModel>(landscapeEntity.Landscape);
        }