常用方法
常用方法
常用方法
常用方法
public Post DeletePost(int id) { Post postToDelete = GetOnePostElement(id); postRepo.DeleteOneElementInDb(postToDelete); return(postToDelete); }
public Post DeletePost(int id) { Post postToDelete = GetOnePostElement(id); postRepo.DeleteOneElementInDb(postToDelete); return(postToDelete); }