//Add product--Admin// public static bool AddProductBL(ECEntities ec) { bool added = false; try { if (Validate(ec)) { ECDAL ed = new ECDAL(); added = ed.AddProductDAL(ec); } } catch (ECExceptions ex) { throw ex; } catch (Exception ex) { throw ex; } return(added); }