public void Create_Notification_Should_Increase_Number_Of_Notifications()
        {
            //Arrange
            var newNotification = new NotificationBindingModel()
            {
                NotificationContent = "You have been invited for ...",
                Type = NotificationType.InvitedToContest,
                UserId = new Guid().ToString()
            };

            //photoContestMock.Setup(n => n.Notifications.Add(newNotification));

            //Act
            var result = (notificationController.CreateNotification(newNotification) as ViewResult);
            var allNotifications = notifications;


            //Assert
            Assert.AreEqual(allNotifications.Count(), 4);
            //Assert.IsNotNull(result);
            //Assert.IsTrue(string.IsNullOrEmpty(result.ViewName));
        }
        public void Assert_Action_CreateNotification_Returns_DefaultView()
        {
            //Arrange
            var newNotification = new NotificationBindingModel()
            {
                NotificationContent = "You have been invited for ...",
                Type = NotificationType.InvitedToContest,
                UserId = new Guid().ToString()
            };


            //Act
            var result = (notificationController.CreateNotification(newNotification) as ViewResult);


            //Assert
            Assert.IsNotNull(result);
            Assert.IsTrue(string.IsNullOrEmpty(result.ViewName));
        }
        public ActionResult CreateNotification(NotificationBindingModel model)
        {
            // TODO: Recieve binding model and create new notification in database.

            return this.View();
        }