public SalesRecordService(SalesWebMvcContext context)
 {
     _context = context;
 }
예제 #2
0
 public DepartmentsController(SalesWebMvcContext context)
 {
     _context = context;
 }
 public DepartmentsController(SalesWebMvcContext context, DepartmentService departmentService)
 {
     _context           = context;
     _departmentService = departmentService;
 }
예제 #4
0
 public RegistroVendasService(SalesWebMvcContext context)
 {
     _context = context;
 }
예제 #5
0
 public UsersController(SalesWebMvcContext context)
 {
     _context = context;
 }
예제 #6
0
 public SellerService(SalesWebMvcContext context)
 {
     _context = context; //dependencia
 }
예제 #7
0
 public ProductsController(SalesWebMvcContext context, IConfiguration configuration)
 {
     _context      = context;
     Configuration = configuration;
 }
예제 #8
0
 public DepartmentService(SalesWebMvcContext contex)
 {
     _contex = contex;
 }
예제 #9
0
 public ProductsController(SalesWebMvcContext context)
 {
     _context = context;
 }
 public EspecialistaService(SalesWebMvcContext context)
 {
     _contex = context;
 }
        private readonly SalesWebMvcContext _context;            //depêndencia classe do entity framework, responsável por "acessar os dados".

        public DepartmentsController(SalesWebMvcContext context) //injeção de dependência.
        {
            _context = context;
        }
예제 #12
0
        private readonly SalesWebMvcContext _context;         //criar o objeto de contexto

        public DepartamentService(SalesWebMvcContext context) // o contrutor para acessar o servico
        {
            _context = context;
        }
예제 #13
0
 public CategoryService(SalesWebMvcContext context)
 {
     _context = context;
 }
 public DepartmentService(SalesWebMvcContext context)
 {
     _context = context;
 }
 public SellerService(SalesWebMvcContext context) // construtor de injeção de depedência
 {
     _context = context;
 }
예제 #16
0
 public SellerService(SalesWebMvcContext context)
 {
     _context = context;
 }
예제 #17
0
 public SellerService(SalesWebMvcContext context) // Injeçaõ de dependencia do DB Context
 {
     _context = context;
 }