コード例 #1
0
 public static bool IsServiceApprovable <TEntity>(this CourseContract item, ModelSource <TEntity> models, UserProfile agent)
     where TEntity : class, new()
 {
     return(models.GetAmendmentToAllowByAgent(agent).Any(c => c.RevisionID == item.ContractID));
 }