Ejemplo n.º 1
0
        public async Task <ActionResult> DeleteArticle(Guid id)
        {
            await articleDBOpps.RemoveArticle(id);

            return(Json("DONE"));
        }
Ejemplo n.º 2
0
        public async Task <ActionResult> Delete(string id)
        {
            await _articleDBOpps.RemoveArticle(new Guid(id));

            return(new HttpStatusCodeResult(HttpStatusCode.OK));
        }