コード例 #1
0
 public async Task <ActionResult <Account> > AddAcount(AccountRequestByAd account)
 {
     try
     {
         await _accountService.AddAcount(account);
     }
     catch (Exception e)
     {
         return(Content(e.Message));
     }
     return(Content("Success"));
 }