public HttpResponseMessage GetAllVolumeAnalysis(HttpRequestMessage request)
        {
            return(GetHttpResponse(request, () =>
            {
                VolumeAnalysisRundateMtd volObj = new VolumeAnalysisRundateMtd();
                List <VolumeAnalysisRundateRundateModel> volList = new List <VolumeAnalysisRundateRundateModel>();
                volList = volObj.GetAllAnalysisRundate().ToList();

                return request.CreateResponse(HttpStatusCode.OK, volList);
            }));
        }
        public HttpResponseMessage GetAccountTransferPrice(HttpRequestMessage request, [FromBody] VolumeAnalysisRundateRundateModel volmodel)
        {
            return(GetHttpResponse(request, () =>
            {
                HttpResponseMessage response = null;

                VolumeAnalysisRundateMtd volObj = new VolumeAnalysisRundateMtd();
                volObj.UpdateVolumeAnalysisRundate(volmodel);

                return request.CreateResponse(HttpStatusCode.OK, response);
            }));
        }
        public HttpResponseMessage TeamStructureRegion(HttpRequestMessage request, int Id)
        {
            return(GetHttpResponse(request, () =>
            {
                HttpResponseMessage response = null;

                VolumeAnalysisRundateMtd volObj = new VolumeAnalysisRundateMtd();
                VolumeAnalysisRundateRundateModel volObj2 = new VolumeAnalysisRundateRundateModel();
                volObj2 = volObj.GetVolumeAnalysisRundateById(Id);

                response = request.CreateResponse <VolumeAnalysisRundateRundateModel>(HttpStatusCode.OK, volObj2);

                return response;
            }));
        }