public User GetUser(User fromUser)
 {
     UserData userData = new UserData();
     VehicleBusiness vehicleBusiness = new VehicleBusiness();
     User userLoaded = userData.GetUser(fromUser);
     userLoaded.ListOfVehicles = vehicleBusiness.LoadListOfVehicles(userLoaded);
     return userLoaded;
 }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["USER"] == null)
        {
            Response.Redirect("login.aspx");
        }

        Session["EMAILALERT"] = "";
        User requestingUser = (User)Session["USER"];

        LabelSessionId.Text = requestingUser.Id.ToString();
        LabelSessionName.Text = requestingUser.Name;
        LabelSessionLastname.Text = requestingUser.Lastname;
        LabelSessionEmail.Text = requestingUser.Email;
        VehicleBusiness vb = new VehicleBusiness();
        FillTableUserVehicles();
        requestingUser.ListOfVehicles = vb.LoadListOfVehicles(requestingUser);
    }