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