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);
        }
Пример #2
0
        private void QueryAllMessages(GetAllMessages get)
        {
            var query = Context.ActorOf(Props.Create(() => new GetAllMessagesQuery()));

            query.Forward(get);
        }