public BorrowLoanStasticsPage()
        {
            InitializeComponent();
            TiltEffect.SetIsTiltEnabled(this, true);

            peopleProfileViewModel = ViewModelLocator.PeopleViewModel;

            _loaningTpyeToSearch = LeanType.BorrowIn;
            this.Loaded += BorrowLoanStasticsPage_Loaded;
        }
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            if (e.NavigationMode != NavigationMode.Back)
            {
                this._loaningTpyeToSearch = e.GetNavigatingParameter("type").ToInt32().ToEnum<LeanType>(); 
            }
        }
 public UnturnedPlayerLeanUpdatedEvent(UnturnedPlayer player, LeanType lean) : base(player)
 {
     Lean = lean;
 }