source: src/main/java/com/example/moviezone/service/CustomerService.java@ 4158cac

Last change on this file since 4158cac was 1e7126f, checked in by DenicaKj <dkorvezir@…>, 15 months ago

fix

  • Property mode set to 100644
File size: 357 bytes
Line 
1package com.example.moviezone.service;
2
3import com.example.moviezone.model.Customer;
4import org.springframework.stereotype.Repository;
5
6import java.util.List;
7import java.util.Optional;
8
9public interface CustomerService {
10 List<Customer> findAllCustomers();
11 Optional<Customer> getCustomerById(int id);
12 Customer findByUsername(String username);
13}
Note: See TracBrowser for help on using the repository browser.