public IHttpActionResult GetAccountSettings()
 {
     try
     {
         if (log.IsDebugEnabled)
         {
             log.Debug("GetAccountSettings Call Recevied.");
         }
         return(Ok(_userApplicationService.GetAccountSettings(HeaderParamUtility.GetApikey(Request))));
     }
     catch (InstanceNotFoundException exception)
     {
         if (log.IsErrorEnabled)
         {
             log.Error("ChangeSettings Call Exception ", exception);
         }
         return(BadRequest(exception.Message));
     }
     catch (NullReferenceException exception)
     {
         if (log.IsErrorEnabled)
         {
             log.Error("ChangeSettings Call Exception ", exception);
         }
         return(BadRequest(exception.Message));
     }
     catch (Exception exception)
     {
         if (log.IsErrorEnabled)
         {
             log.Error("ChangeSettings Call Exception ", exception);
         }
         return(InternalServerError());
     }
 }