public ResponseDTO <CatalogsDTO> GetById(RequestDTO <int> request) { var response = new ResponseDTO <CatalogsDTO>(); try { response = companyLogic.GetById(request.Signature); } catch (System.Data.SqlClient.SqlException exception) { response.Success = false; response.Message = exception.Message; ExceptionHandler.Instance.WriteExceptionLog(exception); } catch (System.Exception exception) { response.Success = false; response.Message = exception.Message; ExceptionHandler.Instance.WriteExceptionLog(exception); } return(response); }