private async Task SaveOffice()
        {
            this.Error.ErrorMessage = null;

            if (!(await OfficeService.EditOffice(this.SelectedOffice)))
            {
                this.Error.ErrorMessage = SaveOfficeErrorMessage;
            }
            else
            {
                await GetOfficeGridData();
            }

            StateHasChanged();

            await JSRuntime.HideModal("editOfficeModal");
        }
 public void EditOffice(Office office)
 {
     Oc.EditOffice(office);
 }