Esempio n. 1
0
 public async Task <IHttpActionResult> GetPersonalAccount(int AccountId)
 {
     try
     {
         return(Ok(await _accService.GetPersonalAccount(AccountId)));
     } catch (Exception ex)
     {
         _logService.AddErrorWinEventLog(ex);
         _securityService.HideErrorTime();
         return(StatusCode(HttpStatusCode.InternalServerError));
     }
 }