Exemplo n.º 1
0
 internal async Task AddLineCrossing(NewLineCrossingEvent nlce)
 {
     await directorMailbox.SendAsync(nlce);
 }
        public override async Task <NewLineCrossingEventResponse> AlertDirectorOfLineCrossing(NewLineCrossingEvent nlce, ServerCallContext context)
        {
            await MailBag.Get().AddLineCrossing(nlce);

            return(new NewLineCrossingEventResponse());
        }