Esempio n. 1
0
        public void GetAllStorageOptions_WithListOfStorageOptions_ShouldReturnAllStorageOptions()
        {
            SetUp();

            SeedData();
            var allStorageOptions = _storageOptionService.GetAllStorageOptions();

            Assert.Equal(_testStorageOptions, allStorageOptions.ToList());
        }
Esempio n. 2
0
 // GET: Storages
 public IActionResult Index()
 {
     return(View(_service.GetAllStorageOptions()));
 }