Ejemplo n.º 1
0
 public LocaisController(
     Services.Generic.IGenericService <Local> service,
     Microsoft.AspNetCore.Identity.UserManager <Models.ApplicationUser> userManager
     )
     : base(service)
 {
     _userManager = userManager;
 }
Ejemplo n.º 2
0
 public ReservasController(
     Services.Generic.IGenericService <Reserva> serviceReserva,
     Services.Generic.IGenericService <Local> serviceLocal)
     : base(serviceReserva)
 {
     _serviceReserva = serviceReserva;
     _serviceLocal   = serviceLocal;
 }
Ejemplo n.º 3
0
 public ReservasController(
     Services.Generic.IGenericService <Reserva> serviceReserva,
     Services.Generic.IGenericService <Local> serviceLocal,
     Microsoft.AspNetCore.Identity.UserManager <Models.ApplicationUser> userManager)
     : base(serviceReserva)
 {
     _serviceReserva = serviceReserva;
     _serviceLocal   = serviceLocal;
     _userManager    = userManager;
 }
 public ProductsController(
     Services.Product.IProductService service,
     Services.Generic.IGenericService <Models.Ecommerce.Category> categoryService,
     Services.Generic.IGenericService <Models.Ecommerce.Supplier> supplierService
     )
     : base(service)
 {
     _service         = service;
     _categoryService = categoryService;
     _supplierService = supplierService;
 }
 public GenericController(Services.Generic.IGenericService <TEntity> service)
 {
     Service = service;
 }
Ejemplo n.º 6
0
 public MotoristaController(Services.Generic.IGenericService <Motorista> service)
     : base(service)
 {
 }
Ejemplo n.º 7
0
 public ClienteController(Services.Generic.IGenericService <Cliente> service)
     : base(service)
 {
 }
 public ViagemController(Services.Generic.IGenericService <Viagem> service)
     : base(service)
 {
 }