Exemple #1
0
 public void TestSaveStageWithSameName()
 {
     _stageDataManager.Save(_stageMock.Object);
     _dataAdapterMock.Verify(m => m.Save(_stageMock.Object));
 }
Exemple #2
0
 /// <summary>
 /// Save the stage with specified name.
 /// </summary>
 /// <param name="stage">The stage to be saved.</param>
 /// <returns></returns>
 public IActionResult Save(IStage stage)
 {
     return(_dataManager.Save(stage));
 }