Skip to content
Snippets Groups Projects

Validation fix

Merged Harris Ferguson (haf094) requested to merge validation-fix into master
Files
4
@@ -6,6 +6,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Optional;
@Service
public class BusinessDAO implements BusinessDAOInterface {
@@ -78,4 +79,8 @@ public class BusinessDAO implements BusinessDAOInterface {
public List<Business> getAllBusinesses() {
return BR.findAll();
}
public Business findByid(String id){
return BR.findByid(id);
}
}
Loading