Example #1
0
 public virtual bool IsZadavatel(Uzivatel u)
 {
     if (Zadavatel.Compare(u))
     {
         return(true);
     }
     if (SubUkoly.Any(x => x.Zadavatel.Compare(u)))
     {
         return(true);
     }
     return(false);
 }
Example #2
0
 public virtual bool IsResitel(Uzivatel u)
 {
     return(Resitel.Compare(u) || SubUkoly.Any(subUkol => subUkol.Resitel.Compare(u)));
 }
Example #3
0
 public virtual bool IsAtLeastOneDone()
 {
     return(SubUkoly.Any(s => s.Deleted == false && s.Status == StatusUkolu.Closed));
 }