public object Delete(DeletePersona request) { try { Db.DeleteById <Persona>(request.Id); return(true); } catch (Exception) { return(false); } }
public override Link GetMyDeleteLink(long ID) { return(DeletePersona.CreateLink(new { id = ID })); }