Example #1
0
 public PostService(
     IMapper mapper,
     IMembershipManagementBaseService membershipManagementService,
     ITagService tagService,
     IPeopleService peopleService,
     MyDbContext context, IVideoService videoService, IImageService imageService, ICenterService centerService, ICategoryService CategoryService, ICommentService commentService) : base(context)
 {
     _mapper        = mapper;
     _context       = context;
     _videoService  = videoService;
     _imageService  = imageService;
     _centerService = centerService;
     _membershipManagementService = membershipManagementService;
     _tagService      = tagService;
     _peopleService   = peopleService;
     _categoryService = CategoryService;
     _commentService  = commentService;
 }
Example #2
0
 public PeopleService(MyDbContext context, IImageService imageService, IMembershipManagementBaseService membershipManagementService) : base(context)
 {
     _imageService = imageService;
     _context      = context;
     _membershipManagementService = membershipManagementService;
 }