forked from loic-sharma/BaGet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Moves business logic out of controllers and into `BaGet.Core`. For example, the `PackageContentController` passes requests to `IBaGetPackageContentService` and maps results to HTTP responses. In effect, controllers are just translate HTTP translators. 2. BaGet's services for the NuGet protocol implement the same interfaces as BaGet's client libraries for the NuGet protocol. For example, `AzureSearchService` and `SearchClient` both implement `ISearchService` 3. Requests and responses are codified by models in `BaGet.Protocol`. For example, both `SearchController.SearchAsync` and `SearchClient.SearchAsync` return a `SearchResponse`
- Loading branch information
1 parent
4d627fa
commit 3ae40a3
Showing
90 changed files
with
2,108 additions
and
1,253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.