Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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;
 }