コード例 #1
0
 public PromocaoRepository(PromocaoContext context)
 {
     _context = context;
 }
コード例 #2
0
 public PromocaoController(PromocaoContext promocaoContext)
 {
     _promocaoContext    = promocaoContext;
     _promocaoRepository = new PromocaoRepository(promocaoContext);
 }