Esempio n. 1
0
 /// <summary>
 /// 初始化服务
 /// </summary>
 public WctMenuMstrService(IWctMenuMstrRepository wctMenuMstrRepository,
                           InitHelper initHelper, WxHelper wxHelper,
                           IConfiguration configuration)
 {
     _wctMenuMstrRepository = wctMenuMstrRepository;
     _initHelper            = initHelper;
     _wxHelper      = wxHelper;
     _configuration = configuration;
 }
Esempio n. 2
0
 /// <summary>
 /// 初始化控制器
 /// <param name="wctMenuMstrService">微信菜单服务</param>
 /// <param name="wctMenuMstrRepository">微信菜单仓储</param>
 /// </summary>
 public WctMenuMstrController(IWctMenuMstrService wctMenuMstrService,
                              IWctMenuMstrRepository wctMenuMstrRepository)
 {
     _wctMenuMstrService    = wctMenuMstrService;
     _wctMenuMstrRepository = wctMenuMstrRepository;
 }