public static bool Update(AllSitemapEntity allSitemapEntity, DbTransaction trans = null, string zoneId = "") { var provider = new AllSitemapProvider(zoneId); return(provider.Update(allSitemapEntity, trans)); }
public static List <AllSitemapEntity> GetAll(string zoneId = "") { var provider = new AllSitemapProvider(zoneId); return(provider.GetAll()); }
public static bool Delete(System.Int32 id, DbTransaction trans = null, string zoneId = "") { AllSitemapProvider provider = new AllSitemapProvider(zoneId); return(provider.Delete(id, trans)); }
public static AllSitemapEntity GetById(System.Int32 id, string zoneId = "") { var provider = new AllSitemapProvider(zoneId); return(provider.GetById(id)); }