예제 #1
0
        public async Task <ActionResult> DeleteBorrower(int id)
        {
            var checkDelete = await _librarymanager.DeleteBorrower(id);

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