public Repository(ReservationDbContext reservationDbContext, UserManager <User> userManager, IUnitOfWork unitOfWork, IMapper mapper) { _reservationDbContext = reservationDbContext; _userManager = userManager; _unitOfWork = unitOfWork; _mapper = mapper; }
public UnitOfWork(ReservationDbContext context) { this.context = context; }