コード例 #1
0
 public UserRepository(DevPartnersEmployeeContext context, IMapper mapper, SendEmail sendEmail, UserManager <ApplicationUser> userManager, ResponseBadRequest badRequest, GUIDMethod guidMethod)
 {
     _context     = context;
     _mapper      = mapper;
     _sendEmail   = sendEmail;
     _userManager = userManager;
     _badRequest  = badRequest;
     _guidMethod  = guidMethod;
 }
コード例 #2
0
 public Authenticate(UserManager <ApplicationUser> userManager, RoleManager <IdentityRole <int> > roleManager,
                     SignInManager <ApplicationUser> manager, IMapper mapper, IHttpContextAccessor accessor, DevPartnersEmployeeContext context)
 {
     _context     = context;
     _userManager = userManager;
     _roleManager = roleManager;
     _manager     = manager;
     _mapper      = mapper;
     _accessor    = accessor;
 }
コード例 #3
0
 public UserController(
     DevPartnersEmployeeContext context,
     IUserRepository user,
     ResponseBadRequest badRequest,
     IMapper mapper)
 {
     _user       = user;
     _context    = context;
     _badRequest = badRequest;
     _mapper     = mapper;
 }
コード例 #4
0
 public GUIDMethod(DevPartnersEmployeeContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
コード例 #5
0
 public HomeController(DevPartnersEmployeeContext context, IUserRepository user)
 {
     _context = context;
     _user    = user;
 }
コード例 #6
0
 public CategoryRepository(DevPartnersEmployeeContext context)
 {
     _context = context;
 }
コード例 #7
0
 public PositionsController(DevPartnersEmployeeContext context)
 {
     _context = context;
 }
コード例 #8
0
 public StatusRepository(DevPartnersEmployeeContext context)
 {
     _context = context;
 }
コード例 #9
0
 public CompanyRepository(DevPartnersEmployeeContext context)
 {
     _context = context;
 }