private void CreateGenericVisitors() { for (int i = 0; i < 400; i++) { string res = ""; switch (i % 4) { case 1: res = "Gutt"; break; case 2: res = "Jente"; break; case 3: res = "Anonym"; break; case 0: res = "Ukjent"; break; } GenericVisitorProvider.AddVisit(res); } }
internal List <GenericVisitor> GetGenericVisitByYearAndMonth(string p, int CurrentYear) { return(GenericVisitorProvider.GetGenericVisitByYearAndMonth(p, CurrentYear)); }
internal List <GenericVisitor> GetGenericVisitByYear(string p) { return(GenericVisitorProvider.GetVisitByYear(p)); }
internal List <GenericVisitor> GetTodaysGenericVisits() { return(GenericVisitorProvider.GetTodaysVisits()); }
internal static void AdddGenericVisit(string s) { GenericVisitorProvider.AddVisit(s); }