コード例 #1
0
        public HttpResponseMessage UpdateTransferPeriod(PeriodEntity period)
        {
            NV5000_FundsForBusiness FundsForBusiness = new NV5000_FundsForBusiness();
            ResponseMessage         response         = FundsForBusiness.UpdateTransferPeriod(period);

            if (response.IsSuccess)
            {
                return(Request.CreateResponse(HttpStatusCode.OK, response.Data));
            }
            else
            {
                return(Request.CreateResponse(HttpStatusCode.InternalServerError, response.MessageText));
            }
        }
コード例 #2
0
        public HttpResponseMessage SearchPeriodDetail(PeriodEntity searchPeriodDetail)
        {
            NV5000_FundsForBusiness FundsForBusiness = new NV5000_FundsForBusiness();
            ResponseMessage         response         = FundsForBusiness.SearchPeriodDetail(searchPeriodDetail);

            if (response.IsSuccess)
            {
                return(Request.CreateResponse(HttpStatusCode.OK, response.Data));
            }
            else
            {
                return(Request.CreateResponse(HttpStatusCode.InternalServerError, response.MessageText));
            }
        }
コード例 #3
0
        public HttpResponseMessage GetComboboxProject(ProjectEntity project)
        {
            NV5000_FundsForBusiness FundsForBusiness = new NV5000_FundsForBusiness();
            ResponseMessage         response         = FundsForBusiness.GetComboboxProject(project);

            if (response.IsSuccess)
            {
                return(Request.CreateResponse(HttpStatusCode.OK, response.Data));
            }
            else
            {
                return(Request.CreateResponse(HttpStatusCode.InternalServerError, response.MessageText));
            }
        }