Example #1
0
 public VoteController(INewsRepository newsRepository, IVoteRepository voteRepository, IApiInputValidationChecks inputValidation, IApiBusinessLogicValidationChecks businessValidation)
 {
     this.newsRepository     = newsRepository;
     this.voteRepository     = voteRepository;
     this.inputValidation    = inputValidation;
     this.businessValidation = businessValidation;
 }
 public NewsImageController(INewsRepository newsRepository, IImageRepository imageRepository, IApiInputValidationChecks inputValidation, IApiBusinessLogicValidationChecks businessValidation)
 {
     this.newsRepository     = newsRepository;
     this.imageRepository    = imageRepository;
     this.inputValidation    = inputValidation;
     this.businessValidation = businessValidation;
 }
 public ApiInputValidationChecks(IApiInputValidationChecks inputValidation)
 {
     this.inputValidation = inputValidation;
 }
Example #4
0
 public UserController(IUserRepository repository, IApiInputValidationChecks inputValidation, IApiBusinessLogicValidationChecks businessValidation)
 {
     this.repository         = repository;
     this.inputValidation    = inputValidation;
     this.businessValidation = businessValidation;
 }
Example #5
0
 public NewsController(INewsRepository newsTableRepository, IApiInputValidationChecks inputValidation, IApiBusinessLogicValidationChecks businessValidation)
 {
     this.repository         = newsTableRepository;
     this.inputValidation    = inputValidation;
     this.businessValidation = businessValidation;
 }