Example #1
0
        public static void Notify(int confirmDocId)
        {
            ConfirmDocument confirmDoc = IndentRepository.GetConfirmDocument(confirmDocId);

            NotificationService.NotifyAll(confirmDoc);
        }
Example #2
0
        public static void Notify(ConfirmDocument confirmDoc)
        {
            var json = Mapper.Map <ConfirmDocumentJson>(confirmDoc);

            Notify(Json.Encode(json), GetEntityName(confirmDoc));
        }