Пример #1
0
        //public PostMessageBehavior(IBaladorContext baladorContext):base(baladorContext)
        //{

        //}


        public override async Task <Response <BehaviorStatus> > Excute <TRequestBehavior>(TRequestBehavior request)
        {
            RequestPostMessageBehavior requestMessageBehavior = (RequestPostMessageBehavior)Convert.ChangeType(request, typeof(RequestPostMessageBehavior));

            //return null;
            return(await PostSend(requestMessageBehavior));
        }
Пример #2
0
 public abstract Task <Response <BehaviorStatus> > PostSend(RequestPostMessageBehavior requestMessageBehavior);