Skip to content

Instantly share code, notes, and snippets.

@srdelarosa
Created March 19, 2021 01:54
Show Gist options
  • Save srdelarosa/2d34bd840f07e6827373b77ba976faa6 to your computer and use it in GitHub Desktop.
Save srdelarosa/2d34bd840f07e6827373b77ba976faa6 to your computer and use it in GitHub Desktop.
package com.newhorizons.takeitnow.products.application.mainmodule.service;
import com.newhorizons.takeitnow.products.application.mainmodule.dto.ProductDto;
import java.util.List;
import java.util.Optional;
public interface IProductService {
List<ProductDto> getAll();
Optional<ProductDto> getProduct(long productId);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment