Esempio n. 1
0
        public async Task <ActionResult <Borrower> > AddBorrower([FromBody] Borrower borrower)
        {
            var checkAdd = await _librarymanager.AddBorrower(borrower);

            if (checkAdd == 0)
            {
                return(NotFound());
            }
            return(Ok());
        }