public async void CloseDialog(dynamic result) { if (result != null && !result.IsCancellation) // if the modal is exited from any fashion other then cancel or save then the result will be null { await UserInviteService.SendInviteEmail(result.Data); } }
/// <summary> /// Конструктор /// </summary> public InviteController(UserInviteService InviteServ) { this.InviteServ = InviteServ; }