Пример #1
0
 public void Put(Guid id, [FromBody] BrandDto brand)
 {
     _brandService.Update(brand.ToObject(), id);
 }
Пример #2
0
 public void Post([FromBody] BrandDto brand)
 {
     _brandService.Insert(brand.ToObject());
 }