public async Task OnSaveAsync() { try { if (!await PostLogic.CreatePostAsync(Post)) { throw new UserException("Post not Created"); } } catch (Exception) { throw; } }