示例#1
0
 public TwitterController(AreaContext db)
 {
     _db = db;
 }
 public WidgetConfBusinessLogic(AreaContext context)
 {
     _widgetConfRepository = new WidgetConfRepository(context);
 }
示例#3
0
 public WidgetParamController(AreaContext context)
 {
     _widgetParamBusiness = new WidgetParamBusinessLogic(context);
 }
示例#4
0
 public UserController(AreaContext context, IOptions <AppSettings> appSettings)
 {
     _business = new UserBusinessLogic(context, appSettings);
 }
示例#5
0
 public ServiceRepository(AreaContext context)
 {
     _context = context;
 }
示例#6
0
 public BaseController()
 {
     db = new AreaContext();
 }
示例#7
0
 public AboutBusinessLogic(AreaContext context)
 {
     _serviceRepository     = new ServiceRepository(context);
     _widgetRepository      = new WidgetRepository(context);
     _widgetParamRepository = new WidgetParamRepository(context);
 }
示例#8
0
 public WidgetController(AreaContext context, IOptions <AppSettings> appSettings)
 {
     _widgetBusiness = new WidgetBusinessLogic(context);
     _userBusiness   = new UserBusinessLogic(context, appSettings);
 }
示例#9
0
 public UserBusinessLogic(AreaContext context, IOptions <AppSettings> appSettings)
 {
     _appSettings = appSettings.Value;
     _repository  = new UserRepository(context);
 }
示例#10
0
 public AreaRepository(AreaContext db)
 {
     _db = db;
 }
示例#11
0
 public FacebookController(AreaContext db)
 {
     _db = db;
 }
示例#12
0
 public UserRepository(AreaContext context)
 {
     _context = context;
 }
示例#13
0
 public ProviderRepository(AreaContext context)
 {
     _context = context;
 }