Ejemplo n.º 1
0
 public IDataResult <List <Comment> > GetPhotoComments(int photoId)
 {
     return(new SuccessDataResult <List <Comment> >(_commentDal.GetPhotoComments(new Photo {
         Id = photoId
     }).ToList()));
 }