示例#1
0
 public MyController(KSContext _db)
 {
     db = _db;
 }
示例#2
0
 public RegisterUserCreateReceiver(KSContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 //相依性注入DB
 public ApiController(KSContext _db)
 {
     this.db = _db;
 }
 public ExistingUserReceiver(KSContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
示例#5
0
 public LoginUserReceiver(KSContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }