public static List <Zone> GetUpdatesAfter(long?lastVersion, DateTime?lastUpdateTime) { BLL.Zone v = new BLL.Zone(); if (lastVersion.HasValue && lastVersion.Value != 0) { v.LoadUpdatesAfter(Convert.ToInt32(lastVersion.Value)); } else if (lastUpdateTime.HasValue) { //v.LoadUpdatesAfterByTime(lastUpdateTime.Value); } else { v.LoadAll(); } return(ToList(v)); }
public static List<Zone> GetUpdatesAfter(long? lastVersion, DateTime? lastUpdateTime) { BLL.Zone v = new BLL.Zone(); if (lastVersion.HasValue && lastVersion.Value != 0) { v.LoadUpdatesAfter(Convert.ToInt32(lastVersion.Value)); } else if (lastUpdateTime.HasValue) { //v.LoadUpdatesAfterByTime(lastUpdateTime.Value); } else { v.LoadAll(); } return ToList(v); }
public static List<Zone> GetAll() { BLL.Zone v = new BLL.Zone(); v.LoadAll(); return ToList(v); }
public static List <Zone> GetAll() { BLL.Zone v = new BLL.Zone(); v.LoadAll(); return(ToList(v)); }