public async Task <MessageModel <string> > Put([FromBody] WeChatSub obj)
        {
            await _WeChatSubServices.Update(obj);

            return(new MessageModel <string> {
                Success = true
            });
        }
Exemple #2
0
        public async Task <MessageModel <string> > Post([FromBody] WeChatSub obj)
        {
            await _WeChatSubServices.Add(obj);

            return(new MessageModel <string> {
                success = true
            });
        }