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.Injection; using MESClassLibrary.Model; namespace MESClassLibrary.BLL.Injection { public class InjectionQtyBLL { InjectionQtyDAL da=new InjectionQtyDAL(); public bool AddInfo(InjectionQtyModel md) { try { return da.AddInfo(md); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); return false; } } public bool UpdateQty(InjectionQtyModel md) { try { return da.UpdateQty(md); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); return false; } } public bool UpdateMarketQty(InjectionQtyModel md) { try { return da.UpdateMarketQty(md); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); return false; } } public DataTable SearchInfo(InjectionQtyModel md) { try { return da.SearchInfo(md); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); return null; } } } }