//private readonly IPictureRequestRepository _pictureRequestRepository; public AdminController(IRoasterRepository roasterRepository, IUserRepository userRepository, IRoasterRequestRepository roasterRequestRepository /*, IPictureRequestRepository pictureRequestRepository*/) { _roasterRepository = roasterRepository; _userRepository = userRepository; _roasterRequestRepository = roasterRequestRepository; //_pictureRequestRepository = pictureRequestRepository; }
public RoasterAddressConnectionService(IRoasterRepository roasterRepository, IAddressRepository addressRepository, ILogger logger) { _roasterRepository = roasterRepository ?? throw new ArgumentNullException(nameof(roasterRepository)); _addressRepository = addressRepository ?? throw new ArgumentNullException(nameof(addressRepository)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public RoasterAdminService(IRoasterRepository roasterRepository, IPictureRepository pictureRepository, IRoasterTagRepository roasterTagRepository, ITagRepository tagRepository, IAddressRepository addressRepository, ILogger logger) { _roasterRepository = roasterRepository ?? throw new ArgumentNullException(nameof(roasterRepository)); _roasterTagRepository = roasterTagRepository ?? throw new ArgumentNullException(nameof(roasterTagRepository)); _pictureRepository = pictureRepository ?? throw new ArgumentNullException(nameof(pictureRepository)); _tagRepository = tagRepository ?? throw new ArgumentNullException(nameof(tagRepository)); _addressReposiotry = addressRepository ?? throw new ArgumentNullException(nameof(addressRepository)); _logger = logger ?? throw new ArgumentNullException(nameof(addressRepository)); }
public RoasterService(IRoasterRepository roasterRepository, IRoasterTagRepository roasterTagRepository) { _roasterRepository = roasterRepository ?? throw new ArgumentNullException(nameof(roasterRepository)); _roasterTagRepository = roasterTagRepository ?? throw new ArgumentNullException(nameof(roasterTagRepository)); }