protected void Calculate_OnClick(object sender, EventArgs e)
        {
            var calculateModel = new List<CalculateModel>();

            double calcError = 0;
            double.TryParse(CalculateError.Text, out calcError);
            int knapsackCount = Convert.ToInt32(KnapsacksCountSelect.SelectedValue);

            for (int i = 1; i <= IterationCount; i++)
            {
                calculateModel.Add(new CalculateModel()
                {
                    CalculateError = calcError,
                    Items = GetRandomItems(i),
                    Knapsacks = GetRandomKnapsacks(knapsackCount)
                });
            }
            foreach (var model in calculateModel)
            {
                var proxy = new Service1();
                proxy.CalculateCompleted += OnCalculateCompleted;
                proxy.CalculateAsync(TransportConverter.CalculateModelConverter(model));
            }
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     _proxy = new Service1();
 }