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