public void ActionAddIsPartialViewResultAndNotNull() { var result = _photosController.Add(1) as PartialViewResult; Assert.IsNotNull(result); Assert.IsInstanceOfType(result, typeof(PartialViewResult)); }
private void HandleTakePhotoButtonClicked() { var photo = cameraDevice.TakePhoto(); photosController.Add(photo); }