public IList <DanhMucData> GetDanhMucByCriteria(System.String whereCondition) { try { var domain = new DanhMucDomainObject(ConnectionString); return(domain.GetDanhMucs(whereCondition)); } catch (Exception ex) { ErrorLog.WebLog("[GetDanhMucByCriteria]", ex.Message); return(null); } }
public IList <DanhMucData> GetDanhMucs() { try { var domain = new DanhMucDomainObject(ConnectionString); return(domain.GetDanhMucs()); } catch (Exception ex) { ErrorLog.WebLog("[GetDanhMucs]", ex.Message); return(null); } }