public bool RemoveDecision(Guid appId) { var decision = _dataService.GetEntity <AppDecision>(p => p.AppId == appId).SingleOrDefault(); if (decision == null) { return(false); } _dataService.Remove(decision); var trlApplication = _dataService.GetEntity <TrlApplication>(x => x.Id == appId).Single(); _limsExchangeService.RemoveDecisionTRL(trlApplication.OldLimsId); _dataService.SaveChanges(); return(true); }