public GuestsController() { Context = new HotelsContext(); }
public GuestsController(IHotelsContext context) { Context = context; }
public HotelsManager(IHotelsContext hotelsContext) { //here we either initialise a context services or the repository for simplicity this.hotelsContext = hotelsContext; }