Ejemplo n.º 1
0
 public AircraftTypesServiceTests()
 {
     mapper = new Shared.DTO.MapperConfiguration().Configure().CreateMapper();
     fakeAircraftTypeRepository = A.Fake <IRepository <AircraftType> >();
     fakeUnitOfWork             = A.Fake <IUnitOfWork>();
     AircraftTypes        = new List <AircraftType>();
     aircraftTypesService = new AircraftTypesService(fakeUnitOfWork, mapper);
 }
Ejemplo n.º 2
0
 public AircraftTypesController(IAircraftTypesService aircraftTypesService)
 {
     this.aircraftTypesService = aircraftTypesService;
 }