예제 #1
0
 public PsBaseController(ApplicationDbContext context,
                         IUserHelper userHelper, ICurrentUserFactory currentUser, IGenericSelectList genericSelectList)
 {
     Context           = context;
     UserHelper        = userHelper;
     GenericSelectList = genericSelectList;
     MyCurrentUser     = currentUser;
 }
 public PeriodicitiesController(ApplicationDbContext context, IUserHelper userHelper,
                                ICurrentUserFactory currentUser, IRoleManager roleManager, IGenericSelectList genericSelectList) : base(context, userHelper, currentUser, genericSelectList)
 {
     _roleManager = roleManager;
     recordHelper = new RecordsHelper(context);
 }