Пример #1
0
 public IHttpActionResult GetMember()
 {
     try
     {
         return(Ok(accountApp.Get(base.AccountCode, base.ClientId)));
     }
     catch (ArgumentException ex)
     {
         return(BadRequest(ex));
     }
     catch (Exception ex)
     {
         return(InternalServerError(ex));
     }
 }