protected async System.Threading.Tasks.Task Form0Submit(Blackmail.Models.Blackmailazure.Datum args)
        {
            try
            {
                var blackmailazureUpdateDatumResult = await Blackmailazure.UpdateDatum(userId : UserID, datum : datum);

                DialogService.Close(datum);
            }
            catch (System.Exception blackmailazureUpdateDatumException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update Datum");
            }
        }
        protected async System.Threading.Tasks.Task Grid0LoadData(LoadDataArgs args)
        {
            try
            {
                var blackmailazureGetDataResult = await Blackmailazure.GetData(filter : $@"(contains(Blackmailer,""{search}"") or contains(Blackmailee,""{search}"") or contains(img,""{search}"")) and {(string.IsNullOrEmpty(args.Filter)? "true" : args.Filter)}", orderby : $"{args.OrderBy}", top : args.Top, skip : args.Skip, count : args.Top != null && args.Skip != null);

                getDataResult = blackmailazureGetDataResult.Value.AsODataEnumerable();

                getDataCount = blackmailazureGetDataResult.Count;
            }
            catch (System.Exception blackmailazureGetDataException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to load Data");
            }
        }
        protected async System.Threading.Tasks.Task GridDeleteButtonClick(MouseEventArgs args, dynamic data)
        {
            try
            {
                if (await DialogService.Confirm("Are you sure you want to delete this record?") == true)
                {
                    var blackmailazureDeleteDatumResult = await Blackmailazure.DeleteDatum(userId : data.UserID);

                    if (blackmailazureDeleteDatumResult != null)
                    {
                        await grid0.Reload();
                    }
                }
            }
            catch (System.Exception blackmailazureDeleteDatumException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to delete Datum");
            }
        }
        protected async System.Threading.Tasks.Task Load()
        {
            var blackmailazureGetDatumByUserIdResult = await Blackmailazure.GetDatumByUserId(userId : UserID);

            datum = blackmailazureGetDatumByUserIdResult;
        }