public async Task GetCurrentMessages(string connectionid) { await Clients.Client(connectionid).SendAsync("ReceiveCurrentMessages", _messagerepo.GetAllMessagesForClient()); }
public async Task GetCurrentMessages(string connectionid) { await Clients.Client(connectionid).SendAsync("ReceiveCurrentMessages", _messagerepo.GetAllMessagesForClient()); }