Exemplo n.º 1
0
 //public static void Delete(CommentVisiterDTO CommentVisiter)
 //{
 //    //CommentVisiterDAL.Delete(CommentVisiterCast.ToDAL(CommentVisiter));
 //}
 //public static CommentVisiterDTO GetById(int id)
 //{
 //    return CommentVisiterCast.ToDTO(CommentVisiterDAL.GetById(id));
 //}
 public static void Add(CommentVisiterDTO CommentVisiter)
 {
     CommentVisiterDAL.Add(CommentVisiterCast.ToDAL(CommentVisiter));
 }
Exemplo n.º 2
0
 public static List <CommentVisiterDTO> GetAll()
 {
     return(CommentVisiterCast.ListToDTO(CommentVisiterDAL.GetAll()));
 }