Created
March 28, 2021 19:24
-
-
Save evrentan/45d5f3461bdf1ebe9889f5cd30517c68 to your computer and use it in GitHub Desktop.
Interface Class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tan.example.service; | |
import com.tan.example.entity.EnterpriseEntity; | |
import javax.validation.Valid; | |
import java.util.List; | |
public interface EnterpriseInterface { | |
List<EnterpriseEntity> findAllEnterprises(); | |
EnterpriseEntity findEnterpriseById(String id); | |
EnterpriseEntity createEnterprise(@Valid EnterpriseEntity enterpriseEntity); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment