예제 #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;
 }