예제 #1
0
        private void GetList()
        {
            Provinces     provinces = new Provinces();
            ProvincesRepo Repo      = new ProvincesRepo(provinces);

            if (Repo.Query())
            {
                Helper.Response(provinces.Serialize());
            }
            else
            {
                Helper.ResponseError(Repo.ErrorMessage);
            }
        }