How can I verify whether the request's header some-header matches book's bookId?
public IActionResult GetBooks()
{
// if 'some-header' value is empty, null , whitespace or request contains multiple ' some-header' headers then it should return UnauthorizedResult();
// if 'some-header' is not above then it needs to be read from repository
}
public class Book
{
public string bookId {get; set;}
}