public void SetUp() { mockdb = new Mock <IDatabase>(); db = mockdb.Object; userdao = new UserDAO(db); messagedao = new MessageDAO(db); }
public RequestService(IBankAccountDAO bankAccountDao, ICreditService creditService) { _bankAccountDao = bankAccountDao; _creditService = creditService; _creditTypesDao = new CreditTypesDAO(); _messageDao = new MessageDAO(); _requestDao = new RequestDAO(); }
public RequestService(IRequestDAO requestDao, ICreditTypesDAO creditTypesDao, IMessageDAO messageDao, IBankAccountDAO bankAccountDao, ICreditService creditService) { _requestDao = requestDao; _creditTypesDao = creditTypesDao; _messageDao = messageDao; _bankAccountDao = bankAccountDao; _creditService = creditService; }
public FacadeBase() { _adminDAO = new AdministratorDAOMSSQL(); _airlineDAO = new AirlineDAOMSSQL(); _customerDAO = new CustomerDAOMSSQL(); _userDAO = new UserDAOMSSQL(); _flightDAO = new FlightDAOMSSQL(); _ticketDAO = new TicketDAOMSSQL(); _countryDAO = new CountryDAOMSSQL(); _messageDAO = new MessageDAOMSSQL(); _backgroundDAO = new MaintenanceDAOMSSQL(); }
public WebChatService(IMessageDAO messageDao) { this.messageDao = messageDao; }
public MessageService(IMessageDAO messageDao) { _messageDao = messageDao; }
public MessageService() { _messageDao = new MessageDAO(); }
public MessageBL(IMessageDAO messageDAO, IUserDAO userDAO) { _messageDAO = messageDAO; _userDAO = userDAO; }