public static SessionInCinema CreateSession(SessionResponse KinoafishaResponse)
        {
            SessionInCinema session = new SessionInCinema();
            session.CinemaName = KinoafishaResponse.k_name;
            session.CinemaURL = "http://kinoafisha.ua" + KinoafishaResponse.k_url;
            session.Halls = new List<Hall>();
            Hall hall = new Hall();
            hall.Name = KinoafishaResponse.h_name;
            hall.In3D = (KinoafishaResponse.h_is3d == "1");
            hall.Sessions = ParseSessions(KinoafishaResponse.sessions);
            foreach (SimpleSession hallSession in hall.Sessions)
            {
                hallSession.In3DText = hall.In3D ? "3D" : "";
            }
            session.Halls.Add(hall);
            session.Timesheet = "";
            foreach (SimpleSession hallSession in hall.Sessions)
            {
                session.Timesheet += hallSession.Time + " ";
            }
            session.Timesheet.Remove(session.Timesheet.Length - 1, 1);

            var request = WebRequest.CreateHttp(session.CinemaURL);
            request.Method = "GET";
            request.BeginGetResponse(result =>
            {
                HttpWebResponse response = (HttpWebResponse)request.EndGetResponse(result);
                Stream streamResponse = response.GetResponseStream();
                StreamReader streamRead = new StreamReader(streamResponse);
                String responseContent = streamRead.ReadToEnd();
                ParseCinemaHTMLPage(session,responseContent);
            }, null);
            return session;
        }
 public static void AppendResponceToSession(SessionInCinema cinemaSession, SessionResponse KinoafishaResponse)
 {
     Hall hall = new Hall();
     hall.Name = KinoafishaResponse.h_name;
     hall.In3D = (KinoafishaResponse.h_is3d == "1");
     hall.Sessions = ParseSessions(KinoafishaResponse.sessions);
     foreach (SimpleSession session in hall.Sessions)
     {
         session.In3DText = hall.In3D ? "3D" : "";
     }
     cinemaSession.Halls.Add(hall);
     cinemaSession.Timesheet += "; ";
     foreach (SimpleSession session in hall.Sessions)
     {
         cinemaSession.Timesheet += session.Time + " ";
     }
     cinemaSession.Timesheet.Remove(cinemaSession.Timesheet.Length - 1, 1);
 }