public static List <BaseDataModel> GetCampInfoModel() { List <BaseDataModel> result = new List <BaseDataModel>(); var list = GetAllCampInfo(); for (int i = 0; i < list.Count; i++) { CampBaseModel model = new CampBaseModel(); if (model.Create(list[i].CampID)) { result.Add((BaseDataModel)model); } } return(result); }
public override void ChangeAction(BaseDataModel model) { _model = (CampBaseModel)model; SetUpElement(); SetSelect(); }