Exemplo n.º 1
0
 public manahelRepository(ManahelContext _context, IWebHostEnvironment webHostEnvironment) : base(_context)
 {
     context  = _context;
     entities = context.Set <Manahel>();
     this.webHostEnvironment = webHostEnvironment;
 }
Exemplo n.º 2
0
 public ProductRepository(ManahelContext _context, IWebHostEnvironment webHostEnvironment) : base(_context)
 {
     context = _context;
     this.webHostEnvironment = webHostEnvironment;
 }
Exemplo n.º 3
0
 public ProductController(IProductRepository context, ManahelContext context1, IWebHostEnvironment webHostEnvironment)
 {
     this.context            = context;
     this.webHostEnvironment = webHostEnvironment;
     this.context1           = context1;
 }
 public HomeController(ManahelContext context)
 {
     this.context = context;
 }
 public GenaricRepository(ManahelContext context)
 {
     _context  = context;
     _entities = _context.Set <T>();
 }
Exemplo n.º 6
0
 public UsersManhalRepositry(ManahelContext _context) : base(_context)
 {
     context = _context;
 }
 public manahelRepository(ManahelContext context) : base(context)
 {
     _Context = context;
 }