using BLL; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace WebAPI.Controllers { /// /// /// public class PackagingManageController : ApiController { public Model.ResponeData GetPackagingInformationList(string projectid) { var responeData = new Model.ResponeData(); try { responeData.data = BLL.APIPackagingManageService.GetPackagingManageList(projectid); } catch (Exception ex) { responeData.code = 0; responeData.message = ex.Message; } return responeData; } public Model.ResponeData GetPackagingInformationById(string projectId, string packagingManageId) { var responeData = new Model.ResponeData(); try { responeData.data = BLL.APIPackagingManageService.GetPackagingInformationById(projectId, packagingManageId); } catch (Exception ex) { responeData.code = 0; responeData.message = ex.Message; } return responeData; } public Model.ResponeData GetPackingInfoConfirmArrival( string packagingManageId) { var responeData = new Model.ResponeData(); try { BLL.APIPackagingManageService.GetPackingInfoConfirmArrival( packagingManageId); } catch (Exception ex) { responeData.code = 0; responeData.message = ex.Message; } return responeData; } } }