package com.tymiller.service.impl;

import java.util.List;

import com.tymiller.model.Comment;
import com.tymiller.service.CommentService;

public class CommentServiceImpl implements CommentService {

	@Override
	public Comment save(Comment comment) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Comment> findByPhotoId(Long photoId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Comment findOne(Long commentId) {
		// TODO Auto-generated method stub
		return null;
	}

}

@@ -53,16 +53,127 @@
 .List;%0A%0A
+import org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.stereotype.Service;%0A%0A
 import c
@@ -199,16 +199,16 @@
 omment;%0A
-
 import c
@@ -244,16 +244,25 @@
 rvice;%0A%0A
+@Service%0A
 public c
@@ -312,32 +312,67 @@
 ervice %7B%0A%0A%09@
-Override
+Autowired%0A%09private CommentDao commentDao;%0A%09
 %0A%09public Com
@@ -452,35 +452,24 @@
 n null;%0A%09%7D%0A%0A
-%09@Override%0A
 %09public List
@@ -568,19 +568,8 @@
 %09%7D%0A%0A
-%09@Override%0A
 %09pub

mark as service and autowire commentdao