public JsonResult DeleteTmpSnippet(int id) { bool result = _snippetService.DeleteTemporarySnippetById(id); if (result) { return(Json("success")); } return(Json("error")); }
public JsonResult DeleteTmpSnippet(int id) { bool result = _snippetService.DeleteTemporarySnippetById(id); if (result) { return(Json("success")); } return(Json("error")); }