public async Task Browse_ReturnsListOfHairLengthLinks()
        {
            // Arrange
            _hairLengthLinksContext = _db.SeedHairLengthLinksContext();
            List <HairLengthLinks> expected = _db.HairLengthLinks;

            // Act
            List <HairLengthLinks> actual = await _hairLengthLinksContext.Browse();

            // Assert
            Assert.Equal(expected.Count, actual.Count);
        }
        public async Task Browse_Limit_Offset_Search_ReturnsFilteredHairLengthLinks()
        {
            // Arrange
            _hairLengthLinksContext = _db.SeedHairLengthLinksContext();
            List <HairLengthLinks> expected = _db.HairLengthLinks.FindAll(c =>
                                                                          c.LinkName.Trim().ToLower().Contains("short"));

            // Act
            // Equivalent to GET /hair_length_links?limit=1000&offset=0&search=short
            List <HairLengthLinks> actual = await _hairLengthLinksContext.Browse("1000", "0", "short");

            // Assert
            Assert.Equal(expected.Count, actual.Count);
        }