using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using MESClassLibrary.BLL.Log; using MESClassLibrary.EFModel; namespace MESClassLibrary.BLL.TruckBox { public class WeightBLL { BasicBLL db=new BasicBLL(); public List SearchWeightById(string productId) { try { return db.SearchAllInfo().Where(p => p.ProductID.Equals(productId)).ToList(); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(),MethodBase.GetCurrentMethod()); return null; } } } }