using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Reflection; using System.Text; using MESClassLibrary.BLL.Log; using MESClassLibrary.DAL.Mistake243; using MESClassLibrary.Model; namespace MESClassLibrary.BLL.Mistake243 { public class Assembly243BLL { public DataTable searchPartNo(string partno) { Assembly243DAL da = new Assembly243DAL(); try { return da.searchPartNo(partno); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); return null; } } public bool AddInfo(Assembly243Model md) { Assembly243DAL da = new Assembly243DAL(); try { return da.AddInfo(md); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); return false; } } public bool UpdateInfo(Assembly243Model md) { Assembly243DAL da = new Assembly243DAL(); try { return da.UpdateInfo(md); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); return false; } } } }