示例#1
0
文件: Lop.cs 项目: thenracker/pdca
 public virtual bool IsZadavatel(Uzivatel u)
 {
     if (Zadavatel.Compare(u))
     {
         return(true);
     }
     if (SubUkoly.Any(x => x.Zadavatel.Compare(u)))
     {
         return(true);
     }
     return(false);
 }
示例#2
0
文件: Lop.cs 项目: thenracker/pdca
 public virtual bool IsResitel(Uzivatel u)
 {
     return(Resitel.Compare(u) || SubUkoly.Any(subUkol => subUkol.Resitel.Compare(u)));
 }
示例#3
0
文件: Lop.cs 项目: thenracker/pdca
 public virtual bool IsAtLeastOneDone()
 {
     return(SubUkoly.Any(s => s.Deleted == false && s.Status == StatusUkolu.Closed));
 }