Example #1
0
 /// <summary>
 /// Method to create a new comment
 /// </summary>
 /// <param name="Entity"></param>
 /// <returns></returns>
 public Comment Create(Comment Entity)
 {
     Entity.CreatedDate = DateTime.Now;
     Repo.Insert(Entity);
     Repo.Save();
     return(new Comment());
 }