예제 #1
0
        public responseData reserves(requestData r)
        {
            responseData rd = new responseData();

            try
            {
                rd.data.AddRange(DataRPC.getReserves(r.yearFrom, r.yearTo));
            }
            catch (Exception ex)
            {
                rd.error = ex.Message;
            }
            finally {
            }
            return(rd);
        }
예제 #2
0
        public responseData productionByCountry(requestData r)
        {
            responseData rd = new responseData();

            try
            {
                rd.data.AddRange(DataRPC.getProductionCountry(r.by, r.yearFrom, r.yearTo));
            }
            catch (Exception ex)
            {
                rd.error = ex.Message;
            }
            finally
            {
            }
            return(rd);
        }