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; }
public UserController(IUserRepository repository, IApiInputValidationChecks inputValidation, IApiBusinessLogicValidationChecks businessValidation) { this.repository = repository; this.inputValidation = inputValidation; this.businessValidation = businessValidation; }
public NewsController(INewsRepository newsTableRepository, IApiInputValidationChecks inputValidation, IApiBusinessLogicValidationChecks businessValidation) { this.repository = newsTableRepository; this.inputValidation = inputValidation; this.businessValidation = businessValidation; }