public XmlModel Load(string ip) { if (sesions == null) { sesions = new List<Sesions>(); } var selection = new SelectSesions(); sesions = selection.selectByIp(ip); return this; }
public urlModel Load(DateTime sisionDate, string ip) { if (urls == null) { urls = new List<URLs>(); } var selection = new SelectSesions(); urls = selection.selectUrlsBySesionTime(sisionDate, ip); return this; }