/// <summary> /// /// </summary> /// <param name="keyValue"></param> public void DeleteForm(string keyValue) { //service.DeleteForm(keyValue); ResultClass <int> _ret = service.Delete(t => t.F_Id == keyValue); if (!_ret.Result) { throw new Exception(_ret.ErrorMessage); } }
public Task <int> Delete(string keyValue) { return(service.Delete(keyValue)); }
public void Delete(DbBackupEntity entity) { service.Delete(entity); }