public void OnlyLastAddedAreAvailable()
        {
            var responseRegistry = new ResponseRegistry();

            responseRegistry.Capacity = 100;
            for (int i = 0; i < 1000; i++)
            {
                responseRegistry.Add(new ResponseRegistryItem());
            }
            Assert.NotNull(responseRegistry.Get(999));
            Assert.NotNull(responseRegistry.Get(901));
            Assert.ThrowsAny <Exception>(() => responseRegistry.Get(10));
            Assert.ThrowsAny <Exception>(() => responseRegistry.Get(900));
        }
 public ActionResult RequestDetails(int responseId)
 {
     return(View(_responseRegistry.Get(responseId)));
 }