Beispiel #1
0
 // GET: api/Piece/5
 public Piece Get(long id)
 {
     return(pieceSvc.GetById(id));
 }
Beispiel #2
0
        public IActionResult Edit(int id)
        {
            var piece = _pieceService.GetById(id);

            return(View(piece));
        }