public bool Insert(SecAplicacion aplicacion) { using (var scope = _database.GetTransaction()) { _database.Insert("SecAplicacion", "id", true, aplicacion); scope.Complete(); } return(true); }
public bool Update(SecAplicacion aplicacion) { using (var scope = _database.GetTransaction()) { _database.Update(aplicacion); scope.Complete(); } return(true); }