public void GetFittings(Guid ProductId)
        {
            ExtraFittings = new ObservableCollection <ExtraFittingsAccessories>(_accessoriesService.GetAccessories(ProductId));

            if (ExtraFittings.Count > 0)
            {
                ExtraFittings.First().UnitPrice = 600;
                EditMode = true;
            }
        }
Пример #2
0
 public IActionResult GetAccessories()
 {
     return(Ok(_accessoriesService.GetAccessories()));
 }