public GetMessagesService(IDbConnection dbConnection, IMessageDataAccess messageDataAccess) { _dbConnection = dbConnection; _messageDataAccess = messageDataAccess; }
public MessageService(IMessageDataAccess messageDataAccess) { this.messageDataAccess = messageDataAccess; }
public SaveDataViewModel(IMessageDataAccess messageDataAccess, IMessageClient messageClient) { this._messageDataAccess = messageDataAccess; this._messageClient = messageClient; }
public void Setup() { _dbConnection = Substitute.For <IDbConnection>(); _messageDataAccess = Substitute.For <IMessageDataAccess>(); _createMessageService = new CreateMessageService(_dbConnection, _messageDataAccess); }
public CreateMessageService(IDbConnection dbConnection, IMessageDataAccess messageDataAccess) { _dbConnection = dbConnection; _messageDataAccess = messageDataAccess; }
public MessageGetService(IMessageDataAccess messageDataAccess) { this.MessageDataAccess = messageDataAccess; }