public CommentController(ITripBookRepository repository) { _repository = repository; }
//Constructor public TripBookService(ITripBookRepository TripBookRepository, IUnitOfWork unitOfWork) { this.TripBookRepository = TripBookRepository; this.unitOfWork = unitOfWork; }
public PlacesController(ITripBookRepository repository) { _repository = repository; }
public CountriesController(ITripBookRepository repository) { _repository = repository; }
public UserController(UserManager <IdentityUser> userManager, ITripBookRepository repository) { _userManager = userManager; _repository = repository; }