public int Add(AddTriggerFormViewModel_Add model) { T_ServiceList serviceList = new T_ServiceList(); var id = serviceList.GetID(model.ServiceName); T_SimpleTrigger trigger = new T_SimpleTrigger() { ID = model.ID, StartTime = model.StartTime, EndTime = model.EndTime, RepeatTime = model.RepeatTime, RepeatInterval = model.RepeatInterval, SID = id }; return(trigger.Add(trigger)); }
public DataSet GetList() { T_ServiceList list = new T_ServiceList(); return(list.GetList("")); }
public DataSet GetList() { T_ServiceList service = new T_ServiceList(); return(service.GetList("")); }