示例#1
0
        public override void ModifySpecialDayGroup(SpecialDayGroup SpecialDayGroup)
        {
            ParametersValidation validation = new ParametersValidation();

            validation.Add(ParameterType.String, "token", SpecialDayGroup.token);
            validation.Add(ParameterType.String, "Name", SpecialDayGroup.Name);
            validation.Add(ParameterType.String, "Description", SpecialDayGroup.Description);
            validation.Add(ParameterType.Log, "Days", SpecialDayGroup.Days);
            ExecuteVoidCommand(validation, ScheduleServiceTest.ModifySpecialDayGroupTest);
        }
示例#2
0
        public override string CreateSpecialDayGroup(SpecialDayGroup SpecialDayGroup)
        {
            ParametersValidation validation = new ParametersValidation();

            validation.Add(ParameterType.String, "token", SpecialDayGroup.token);
            validation.Add(ParameterType.String, "Name", SpecialDayGroup.Name);
            validation.Add(ParameterType.String, "Description", SpecialDayGroup.Description);
            validation.Add(ParameterType.Log, "Days", SpecialDayGroup.Days);
            string result = (string)ExecuteGetCommand(validation, ScheduleServiceTest.CreateSpecialDayGroupTest);

            return(result);
        }
示例#3
0
 public abstract void ModifySpecialDayGroup(SpecialDayGroup SpecialDayGroup);
示例#4
0
 public abstract string CreateSpecialDayGroup(SpecialDayGroup SpecialDayGroup);