Esempio n. 1
0
        public void ActionAddIsPartialViewResultAndNotNull()
        {
            var result = _photosController.Add(1) as PartialViewResult;

            Assert.IsNotNull(result);
            Assert.IsInstanceOfType(result, typeof(PartialViewResult));
        }
Esempio n. 2
0
        private void HandleTakePhotoButtonClicked()
        {
            var photo = cameraDevice.TakePhoto();

            photosController.Add(photo);
        }