public GetAllMessages GetMSG(string Ins) { GetAllMessages g = new GetAllMessages(); g.Custom = c.CustomMsg.Where(x => x.To == Ins).ToList(); g.Revision = c.MarkRevision.Where(x => x.Instructer == Ins).ToList(); return(g); }
private void QueryAllMessages(GetAllMessages get) { var query = Context.ActorOf(Props.Create(() => new GetAllMessagesQuery())); query.Forward(get); }