public GpsService()
 {
     SailingDbContext context = new SailingDbContext();
     _repositoryGpsData = new GpsDataRepository(context);
     _unitOfWork = new UnitOfWork(context);
     AutoMapperConfiguration.Configuration();
 }
 public BoatService()
 {
     SailingDbContext context = new SailingDbContext();
     _repositoryBoat = new BoatRepository(context);
     _unitOfWork = new UnitOfWork(context);
     AutoMapperConfiguration.Configuration();
 }