Ejemplo n.º 1
0
 public AppoimtmentController(IAppoimtmentsRepository appoimtmentRepository,
                              IMapper mapper,
                              IModelsCarRepository modelsCarRepository)
 {
     _appoimtmentRepository = appoimtmentRepository ?? throw new ArgumentNullException(nameof(appoimtmentRepository));
     _modelsCarRepository   = modelsCarRepository ?? throw new ArgumentNullException(nameof(modelsCarRepository));
 }
Ejemplo n.º 2
0
 public ModelCarController(IModelsCarRepository modelsCarRepository)
 {
     _modelsCarRepository = modelsCarRepository ?? throw new ArgumentNullException(nameof(modelsCarRepository));
 }