public HotelUserService(IRepositoryContext context, IHotelUserRepository hotelUserRepository , IHotelRoleRepository hotelRoleRepository , IHotelRepository hotelRepository , IHotelUserRoleService hotelUserRoleService) : base(context) { this.hotelUserRepository = hotelUserRepository; this.hotelRoleRepository = hotelRoleRepository; this.hotelRepository = hotelRepository; this.hotelUserRoleService = hotelUserRoleService; }
public HotelUserService(IHotelUserRepository repository) { this._repository = repository; //dal = new DAL.manager(siteConfig.sysdatabaseprefix); }
public HotelUserRoleService(IRepositoryContext repositoryContext, IHotelUserRepository hotelUserRepository, IHotelRoleRepository hotelRoleRepository) { this.repositoryContext = repositoryContext; this.hotelUserRepository = hotelUserRepository; this.hotelRoleRepository = hotelRoleRepository; }