Skip to content

Commit

Permalink
fix: add @RestController, @service, and @repository annotations to en…
Browse files Browse the repository at this point in the history
…able application functionality
  • Loading branch information
KrishnaBishowkarma committed Nov 11, 2024
1 parent e56c6ca commit 6927090
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
package com.krishna.customer;

import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;
import java.util.Optional;

@Repository
public class CustomerDataAccessService implements CustomerDao {

//db
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/com/krishna/customer/CustomerService.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
package com.krishna.customer;

import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CustomerService {

private final CustomerDao customerDao;
Expand Down

0 comments on commit 6927090

Please sign in to comment.