Example #1
0
        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);
            }
        }
Example #2
0
 internal List <GenericVisitor> GetGenericVisitByYearAndMonth(string p, int CurrentYear)
 {
     return(GenericVisitorProvider.GetGenericVisitByYearAndMonth(p, CurrentYear));
 }
Example #3
0
 internal List <GenericVisitor> GetGenericVisitByYear(string p)
 {
     return(GenericVisitorProvider.GetVisitByYear(p));
 }
Example #4
0
 internal List <GenericVisitor> GetTodaysGenericVisits()
 {
     return(GenericVisitorProvider.GetTodaysVisits());
 }
Example #5
0
 internal static void AdddGenericVisit(string s)
 {
     GenericVisitorProvider.AddVisit(s);
 }