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