/// <summary>
        /// This function is responsible for the series of actions that will be performed when this button is clicked
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void AddStopToLine_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                bl.AddStopInLine(managingLine.Id, tempStation.Code, numberInLine);

                MessageBox.Show("input updated successfully!" + "  click on X to exit");
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Exception", MessageBoxButton.OK, MessageBoxImage.Information);
            }
        }