Beispiel #1
0
        public void GetActivitiesIdCookies(HttpResponseBase resp, DateTime dt)
        {
            IActivityService activityService = ServiceBuilder.BuildActivityService();
            ResponseStatus   respStatus      = activityService.GetActivityIds(ref activitiesId);

            if (respStatus == ResponseStatus.SUCCESS)
            {
                if (activitiesId.Count > 0)
                {
                    for (int i = 0; i < activitiesId.Count; ++i)
                    {
                        CookieFactory cf = CookieFactory.Instance();
                        cf.CreateCookie("ACY" + i, activitiesId[i] + "", dt, resp);
                    }
                }
            }
        }
Beispiel #2
0
 public ActivityController()
 {
     activityService = ServiceBuilder.BuildActivityService();
     conta_Activity  = new Container_List_Activity();
 }