コード例 #1
0
ファイル: ApiEndPointTests.cs プロジェクト: wcoleman-dt/onion
        public void rootObject_should_be_retrieved_from_database()
        {
            var apiKeyType  = 1;
            var apiEndPoint = _apiEndPointRepository.GetEndPoint(apiKeyType);

            Assert.IsNotNull(apiEndPoint);
            Assert.IsTrue(apiEndPoint.Id > 0);
        }
コード例 #2
0
 public ApiEndpoint GetEndPoint(int apiKeyType)
 {
     return(_apiEndPointRepository.GetEndPoint(apiKeyType));
 }