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