//Search product---Admin// public static ECEntities SearchProductBL(string ec) { ECEntities product = new ECEntities(); try { ECDAL ed = new ECDAL(); product = ed.SearchProductDAL(ec); } catch (ECExceptions ex) { throw ex; } catch (Exception ex) { throw ex; } return(product); }