Example #1
0
 public ActionResult IndexPost(WechatViewModel model) {
     _wechatService.AddOrUpdate(model);
     return RedirectToAction("Index");
 }
Example #2
0
 public WechatCustomApi(ICacheProvider cacheProvider, IWechatService wechatService) {
     _cacheProvider = cacheProvider;
     _wechatModel = wechatService.Get();
 }