public async void AddDeviceTestTest()
        {
            var result = await _deviceController.AddDevice();

            var viewResult = result as ViewResult;
            var model      = viewResult.Model as List <DeviceType>;

            Assert.Equal(model.Count, 2);
            Assert.True(model.First().Name == "Simulated Device" || model.First().Name == "Custom Device");
        }