Пример #1
0
 public ResponseBuilder([NotNull] JsonResponses jsonResponses, ResponseStatus status)
 {
     this.jsonResponses = jsonResponses;
     this.status = status;
     message = string.Empty;
     links = new List<Link>();
 }
Пример #2
0
 protected ApiModuleBase([NotNull] IModels models, [NotNull] ILocalResources localResources, [NotNull] string modulePath)
     : base(models, localResources, "api" + modulePath)
 {
     jsonResponses = new JsonResponses(() => Response);
 }