Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public async Task <ActionResult> Delete(int id) { Publication post = _publicationService.GetPostDB(id); if (post != null) { _publicationService.DeletePost(post); } return(RedirectToAction("AllPosts")); }