public String ChangeCollectionPoint(WCF_Department dpmt) { int id = Int32.Parse(dpmt.CollectionPointId); string dpid = dpmt.DepartmentCode; Business.ChangeCollectionPoint(id, dpid); return("successful"); }
//---------- Lim Chang Siang's Code Ends Here ------------------// //Khiar Codes //Naing public WCF_Department GetDeptName(string deptid) { string deptname = RequisitionLogic.GetDepartmentName(deptid); WCF_Department wcf_dept = new WCF_Department(); wcf_dept.DeptID = deptid; wcf_dept.DepartmentName = deptname; return(wcf_dept); }