public RoomManageDomainService(IMultiDbDbFactory factory, IRoomSymbolRepository roomCodeRep, ISystemCodeRepository systemRep, IOperateLogRepository logRep, IGuestAccountingRepository accountingRep, IGuestDataRepository guestRep, IRoomRoutineRepository routineRep) { RoomFactory = factory; RoomCodeRep = roomCodeRep; SysCodeRep = systemRep; LogRepository = logRep; AccRepository = accountingRep; GuestRepository = guestRep; RoomRoutineRep = routineRep; }
public GuestsController(IGuestDataRepository repo, UserManager <User> _userManager, RoleManager <IdentityRole> _roleManager) { repository = repo; userManager = _userManager; roleManager = _roleManager; }
public HomeController(IGuestDataRepository guestRepo, IPlaceDataRepository placeRepo) { guestRepository = guestRepo; placeRepository = placeRepo; }