//Add to cart// public static bool AddtoCartBL(ECEntities ec) { bool added = false; try { if (Validate(ec)) { ECDAL ed = new ECDAL(); added = ed.AddtoCartDAL(ec); } } catch (ECExceptions ex) { throw ex; } catch (Exception ex) { throw ex; } return(added); }