public BookingDALManageFacade() { _bookingDALProvider = new BookingDAL(); _roomDALProvider = new RoomDAL(); _clientDALProvider = new ClientDAL(); _bookingDetailDALProvider = new BookingDetailDAL(); }
public void TestInitialize() { _clientDAL = Substitute.For <IClientDAL>(); _clientList = new List <IClient>() { new Client(id, "Marko"), new Client(Guid.NewGuid(), "Max"), new Client(Guid.NewGuid(), "Bob") }; }
public ClientService(IClientDAL clientDAL) { if (clientDAL == null) { throw new ArgumentNullException("Value cannot be null", nameof(clientDAL)); } ClientDAL = clientDAL; }
public ClientDALManageFacade() { _clientDALProvider = new ClientDAL(); }
public ClientService(IClientDAL clientDAL) { _clientDal = clientDAL; }