public MasterPromotionController( db_AmpeliteContext context, ICodePromotionService iCodePromotionService ) { ctx = context; iCodeProService = iCodePromotionService; }
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" }); }
public GoodCateCodesController( db_AmpeliteContext context, ICodePromotionService iCodePromotionService, IGetTransactionInvService iGetTransactionInvService ) { _context = context; iCodeProService = iCodePromotionService; iGetTranInvService = iGetTransactionInvService; }
public MasterPromotionTargetController( db_AmpeliteContext context, IPromotionTargetService iPromotionTargetService, ICodePromotionService iCodePromotionService ) { ctx = context; iProTargetService = iPromotionTargetService; iCodeProService = iCodePromotionService; }
public MasterFrpcostRfController( db_AmpeliteContext context, ICodePromotionService iCodePromotionService, IGetTransactionInvService iGetTransactionInvService ) { _context = context; iCodeProService = iCodePromotionService; iGetTranInvService = iGetTransactionInvService; }
public GetTransactionInvService(db_AmpeliteContext context) { ctx = context; }
public GraphProductController(db_AmpeliteContext context) { _context = context; }
public AuthController(db_AmpeliteContext context) { _context = context; }
public BalanceController( db_AmpeliteContext context ) { ctx = context; }
public DailypoDetailDailiesController(db_AmpeliteContext context) { _context = context; }
public DailypoProductTeamsController(db_AmpeliteContext context) { _context = context; }
public PromotionTargetService(db_AmpeliteContext context) { ctx = context; }
public DailypoController(db_AmpeliteContext context) { _context = context; }
public DailypoGraphProductsController(db_AmpeliteContext context) { _context = context; }
public LoyaltyFRPController(db_AmpeliteContext context1, db_AmpelwebContext context2) { ctxAmpelite = context1; ctxAmpelweb = context2; }
public DailypoGroupReportsController(db_AmpeliteContext context) { _context = context; }
public CodePromotionService(db_AmpeliteContext context) { ctx = context; }