コード例 #1
0
 public MasterPromotionController(
     db_AmpeliteContext context,
     ICodePromotionService iCodePromotionService
     )
 {
     ctx             = context;
     iCodeProService = iCodePromotionService;
 }
コード例 #2
0
        public IEnumerable <string> Get()
        {
            using (var context = new db_AmpeliteContext())
            {
                SqlParameter category = new SqlParameter("@CategoryName", "Test");
                context.Database.ExecuteSqlCommandAsync("NewCategory @CategoryName", category);
            }

            return(new string[] { "value1", "value2" });
        }
コード例 #3
0
 public GoodCateCodesController(
     db_AmpeliteContext context,
     ICodePromotionService iCodePromotionService,
     IGetTransactionInvService iGetTransactionInvService
     )
 {
     _context           = context;
     iCodeProService    = iCodePromotionService;
     iGetTranInvService = iGetTransactionInvService;
 }
コード例 #4
0
 public MasterPromotionTargetController(
     db_AmpeliteContext context,
     IPromotionTargetService iPromotionTargetService,
     ICodePromotionService iCodePromotionService
     )
 {
     ctx = context;
     iProTargetService = iPromotionTargetService;
     iCodeProService   = iCodePromotionService;
 }
コード例 #5
0
 public MasterFrpcostRfController(
     db_AmpeliteContext context,
     ICodePromotionService iCodePromotionService,
     IGetTransactionInvService iGetTransactionInvService
     )
 {
     _context           = context;
     iCodeProService    = iCodePromotionService;
     iGetTranInvService = iGetTransactionInvService;
 }
コード例 #6
0
 public GetTransactionInvService(db_AmpeliteContext context)
 {
     ctx = context;
 }
コード例 #7
0
 public GraphProductController(db_AmpeliteContext context)
 {
     _context = context;
 }
コード例 #8
0
 public AuthController(db_AmpeliteContext context)
 {
     _context = context;
 }
コード例 #9
0
 public BalanceController(
     db_AmpeliteContext context
     )
 {
     ctx = context;
 }
コード例 #10
0
 public DailypoDetailDailiesController(db_AmpeliteContext context)
 {
     _context = context;
 }
コード例 #11
0
 public DailypoProductTeamsController(db_AmpeliteContext context)
 {
     _context = context;
 }
コード例 #12
0
 public PromotionTargetService(db_AmpeliteContext context)
 {
     ctx = context;
 }
コード例 #13
0
 public DailypoController(db_AmpeliteContext context)
 {
     _context = context;
 }
コード例 #14
0
 public DailypoGraphProductsController(db_AmpeliteContext context)
 {
     _context = context;
 }
コード例 #15
0
 public LoyaltyFRPController(db_AmpeliteContext context1, db_AmpelwebContext context2)
 {
     ctxAmpelite = context1;
     ctxAmpelweb = context2;
 }
コード例 #16
0
 public DailypoGroupReportsController(db_AmpeliteContext context)
 {
     _context = context;
 }
コード例 #17
0
 public CodePromotionService(db_AmpeliteContext context)
 {
     ctx = context;
 }