Example #1
0
 public TeamController(YicaiyunContext context, IMapper mapper, IHostingEnvironment hostingEnvironment)
 {
     _context            = context;
     _mapper             = mapper;
     _hostingEnvironment = hostingEnvironment;
 }
Example #2
0
 public OrdersController(YicaiyunContext context)
 {
     _context = context;
 }
Example #3
0
 public RecipesController(YicaiyunContext context, IHttpContextAccessor httpContextAccessor, IMapper mapper)
 {
     _context             = context;
     _httpContextAccessor = httpContextAccessor;
     _mapper = mapper;
 }
Example #4
0
 public ArticlesController(YicaiyunContext context)
 {
     _context = context;
 }
Example #5
0
 public CommonController(YicaiyunContext context)
 {
     _context = context;
 }