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); }
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); }