// validation
        protected async Task HandleValidSubmit()
        {
            if (AttackViewModel.Attribute1 == NullOption)
            {
                AttackViewModel.Attribute1 = null;
            }
            if (AttackViewModel.Attribute2 == NullOption)
            {
                AttackViewModel.Attribute2 = null;
            }
            if (AttackViewModel.Jutsu1 == NullOption)
            {
                AttackViewModel.Jutsu1 = null;
            }
            if (AttackViewModel.Jutsu2 == NullOption)
            {
                AttackViewModel.Jutsu2 = null;
            }
            if (AttackViewModel.Causing == NullOption)
            {
                AttackViewModel.Causing = null;
            }

            AttackModel = AttackViewModel;

            await AttackViewModelService.UpdateAttack(long.Parse(Id), AttackModel);

            NavigationManager.NavigateTo("attacks");
        }
        // validation
        protected async Task HandleValidCreate()
        {
            if (AttackViewModel.Attribute1 == NullOption)
            {
                AttackViewModel.Attribute1 = null;
            }
            if (AttackViewModel.Attribute2 == NullOption)
            {
                AttackViewModel.Attribute2 = null;
            }
            if (AttackViewModel.Jutsu1 == NullOption)
            {
                AttackViewModel.Jutsu1 = null;
            }
            if (AttackViewModel.Jutsu2 == NullOption)
            {
                AttackViewModel.Jutsu2 = null;
            }
            if (AttackViewModel.Causing == NullOption)
            {
                AttackViewModel.Causing = null;
            }

            AttackModel = AttackViewModel;

            await AttackViewModelService.CreateAttack(AttackModel);

            Back_Click();
        }
        protected override async Task OnInitializedAsync()
        {
            BackRoute = $"attacks/{Id}";

            AttackModel = await AttackViewModelService.GetAttack(long.Parse(Id));

            AttackViewModel = AttackModel;
        }