Exemple #1
0
        public void GetAllCpus_WithListOfCpus_ShouldReturnAllCpus()
        {
            SetUp();

            SeedData();
            var allCpus = _cpuService.GetAllCpus();

            Assert.Equal(_testCpus, allCpus.ToList());
        }
Exemple #2
0
 // GET: Cpus
 public IActionResult Index()
 {
     return(View(_service.GetAllCpus()));
 }