예제 #1
0
        public async Task <IActionResult> Details(string id)
        {
            models.product prd = await _catalogSvc.GetProduct(id);

            return(View(prd));
        }
예제 #2
0
 public void Post([FromBody] models.product value)
 {
     _cosmosDBRepository.CreateItemAsync(value).Wait();
 }