public ActionResult Index(string notification = null)
        {
            var model = _engine.GetDatasets(Identity);

            model.Notification = notification;
            return(View(model));
        }
Esempio n. 2
0
        public ActionResult Index(string notification = null)
        {
            var model = _browseCubeEgine.GetDatasets(Identity);

            model.Notification = notification;
            Response.AddHeader("Refresh", "15");
            return(View(model));
        }
Esempio n. 3
0
 public void TestGetDatasets()
 {
     // Arrange
     Reset();
     // Act
     _testee.GetDatasets();
     // Assert
     _dataMock.Verify(dm => dm.GetAllDatasets());
     _datasetMapperMock.Verify(dmm => dmm.Map(It.IsAny <IEnumerable <Dataset> >()));
 }