CRUD sur post (pas de auth)
This commit is contained in:
		
							parent
							
								
									64569c4f81
								
							
						
					
					
						commit
						300d3b7a32
					
				
							
								
								
									
										19
									
								
								src/main/java/com/guams/review/service/PostService.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								src/main/java/com/guams/review/service/PostService.java
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,19 @@ | ||||
| package com.guams.review.service; | ||||
| 
 | ||||
| 
 | ||||
| import com.guams.review.repository.PostRepository; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | ||||
| 
 | ||||
| @Service | ||||
| public class PostService | ||||
| { | ||||
|     public PostRepository postRepository; | ||||
| 
 | ||||
|     @Autowired | ||||
|     public PostService(PostRepository postRepository) | ||||
|     { | ||||
|         this.postRepository = postRepository; | ||||
|     } | ||||
| 
 | ||||
| } | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user