public IActionResult UpdateLoanForFriend([FromBody] BorrowInputModel borrow, int?tapeId, int?friendId) { if (!ModelState.IsValid) { throw new ModelFormatException(); } return(Ok(_tapeService.UpdateLoanForFriend((int)tapeId, (int)friendId, borrow))); }