public GroupPostViewComponent(IUserHelper userHelper, IConfiguration configuration, IPsSelectList psSelectList, ApplicationDbContext context) { UserHelper = userHelper; Configuration = configuration; PsSelectList = psSelectList; _context = context; GenericSelectList = new GenericSelectList(); }
public PsBaseController(IUserHelper userHelper, IConfiguration configuration, IPsSelectList psSelectList) { UserHelper = userHelper; Configuration = configuration; PsSelectList = psSelectList; GenericSelectList = new GenericSelectList(); }
// private readonly IConfiguration _configuration; // private readonly IPsSelectList _psSelectList; // private readonly Repository<Privacy> _privacyRepo; // private readonly Repository<GroupType> _groupTypeRepo; // private readonly ApplicationDbContext _context; public GroupsController(IUserHelper userHelper, IConfiguration configuration, IPsSelectList psSelectList, IGroup groupRepository) : base(userHelper, configuration, psSelectList) { _groupRepository = groupRepository; // _configuration = configuration; // _psSelectList = psSelectList; // _genericSelectList = new GenericSelectList(); // UserHelper = userHelper; // _privacyRepo = new Repository<Privacy>(context); // _groupTypeRepo = new Repository<GroupType>(context); }