/// <summary> /// Method for create a new post /// </summary> /// <param name="Entity"></param> /// <returns></returns> public Post Create(Post Entity) { Entity.CreatedDate = DateTime.Now; Entity.Status = false; Repo.Insert(Entity); Repo.Save(); return(new Post()); }