public bool Delete(int id) { try { LiteDBClass.DeleteObject(id, Objetos.Administradora); return(true); } catch { return(false); } }
public bool Delete(int id) { try { LiteDBClass.DeleteObject(id, Objetos.Assunto); return(true); } catch { return(false); } }
public ActionResult Delete(int id) { try { LiteDBClass.DeleteObject(id, Objetos.Usuario); return(View("Index")); } catch { return(View("Index")); } }