Пример #1
0
 public CommentController(ITripBookRepository repository)
 {
     _repository = repository;
 }
Пример #2
0
 //Constructor
 public TripBookService(ITripBookRepository TripBookRepository, IUnitOfWork unitOfWork)
 {
     this.TripBookRepository = TripBookRepository;
     this.unitOfWork         = unitOfWork;
 }
Пример #3
0
 public PlacesController(ITripBookRepository repository)
 {
     _repository = repository;
 }
Пример #4
0
 public CountriesController(ITripBookRepository repository)
 {
     _repository = repository;
 }
Пример #5
0
 public UserController(UserManager <IdentityUser> userManager, ITripBookRepository repository)
 {
     _userManager = userManager;
     _repository  = repository;
 }