public void SavePointSystemCongirutraion(PointSystemConfigurationDTO configuration)
 {
     ValidateRequest(configuration);
     try
     {
         pointSystemManager.AddConfiguration(configuration);
     }catch (OperationException)
     {
         pointSystemManager.UpdateConfiguration(configuration);
     }
 }
Exemple #2
0
 public void TestAddConfiguration()
 {
     configurationManager.AddConfiguration(configurationDTO);
     Assert.AreNotEqual(ESportUtils.EMPTY_LIST, configurationManager.GetAllConfigurations().Count);
 }