protected async Task HandleInvalidSubmit()
 {
     if (PassiveViewModel.Attribute1 == NullOption && PassiveViewModel.Jutsu1 != PassiveViewModel.Jutsu2)
     {
         await HandleValidSubmit();
     }
     else
     {
         AlertDisplay.Show(true);
     }
 }
 protected async Task HandleInvalidCreate()
 {
     if (AttackViewModel.Attribute1 == NullOption && AttackViewModel.Jutsu1 != AttackViewModel.Jutsu2)
     {
         await HandleValidCreate();
     }
     else
     {
         AlertDisplay.Show(true);
     }
 }
 protected void Edit_Click()
 {
     AlertDisplay.Show(false);
     EditConfirmation.Show();
 }
 protected void HandleInvalidSubmit()
 {
     AlertDisplay.Show(true);
 }
 protected void Create_Click()
 {
     AlertDisplay.Show(false);
     CreateConfirmation.Show();
 }
Esempio n. 6
0
 protected void SetAlertMessage(string message, AlertType alertType, AlertDisplay display = AlertDisplay.None)
 {
     TempData["Alert.Message"] = message;
     TempData["Alert.Type"]    = alertType;
     TempData["Alert.Display"] = display;
 }
Esempio n. 7
0
 protected void HandleInvalidCreate()
 {
     AlertDisplay.Show(true);
 }