示例#1
0
        //方式2

        public QuestionController(IQuestionService qeustionService, IReplyService replyService,
                                  ISysGroupService sysGroupService,
                                  IImageInfoService imageInfoService)
        {
            _qeustionService = qeustionService;
            _replyService    = replyService;
        }
示例#2
0
 public UserInfoController(IUserInfoService userService, IGradeService gradeService,
                           ISysGroupService sysGroupService,
                           IImageInfoService imageInfoService)
 {
     _userService      = userService;
     _gradeService     = gradeService;
     _sysGroupService  = sysGroupService;
     _imageInfoService = imageInfoService;
 }
示例#3
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="localizer"></param>
 /// <param name="groupService"></param>
 /// <param name="imapper"></param>
 /// <param name="currUser"></param>
 public SysGroupController(IStringLocalizer <LanguageSub> localizer,
                           ISysGroupService groupService,
                           IMapper imapper,
                           ICurrentUser currUser)
 {
     stringLocalizer = localizer;
     sysGroupService = groupService;
     mapper          = imapper;
     currentUser     = currUser;
 }
 public GroupController(ISysGroupService sysGroupService)
 {
     _sysGroupService = sysGroupService;
 }