public void AddBook([FromBody] Book book) { _unitOfWork.Books.Add(book); _unitOfWork.Complete(); }
public void AddShelf([FromBody] Shelf shelf) { _unitOfWork.Shelfves.Add(shelf); _unitOfWork.Complete(); }