Exemplo n.º 1
0
 public ForumController(IIocManager iocManager,
                        IForumService forumService,
                        IPlateAppService plateAppService)
 {
     _forumService    = forumService;
     _plateAppService = plateAppService;
     _iocManager      = iocManager;
 }
Exemplo n.º 2
0
 public ForumService(
     IPlateAppService plateAppService,
     IRepository <Member, long> memberRepository,
     IRepository <Plate, long> plateRepository,
     IRepository <ForumPost, long> forumPostRepository,
     IRepository <ForumComment, long> forumCommentRepository,
     IRepository <ForumImage, long> forumImageRepository
     )
 {
     _plateAppService        = plateAppService;
     _memberRepository       = memberRepository;
     _plateRepository        = plateRepository;
     _forumPostRepository    = forumPostRepository;
     _forumCommentRepository = forumCommentRepository;
     _forumImageRepository   = forumImageRepository;
 }
Exemplo n.º 3
0
 public ForumPostService(
     IPlateAppService plateAppService,
     IRepository <Member, long> memberRepository,
     IRepository <Plate, long> plateRepository,
     IRepository <ForumPost, long> forumPostRepository,
     IRepository <ForumComment, long> forumCommentRepository,
     IRepository <ForumImage, long> forumImageRepository,
     ISqlExecuter sqlExecuter
     )
 {
     _plateAppService        = plateAppService;
     _memberRepository       = memberRepository;
     _plateRepository        = plateRepository;
     _forumPostRepository    = forumPostRepository;
     _forumCommentRepository = forumCommentRepository;
     _forumImageRepository   = forumImageRepository;
     _sqlExecuter            = sqlExecuter;
 }
Exemplo n.º 4
0
 public PlatesController(IPlateAppService categoryAppService)
 {
     _categoryAppService = categoryAppService;
 }
Exemplo n.º 5
0
 public PlateController(IPlateAppService service)
 {
     _service = service;
 }