Ejemplo n.º 1
0
    public static List <DefectBase> EnumScheduled(string date, string email)
    {
        DefectsFilter f = new DefectsFilter();

        f.startDateScheduled = date;
        f.endDateScheduled   = DateTime.ParseExact(date, defDateFormat, CultureInfo.InvariantCulture).AddDays(1).ToString(defDateFormat);
        f.orderer            = email;
        DefectBase temp = new DefectBase();

        return(temp.Enum(f, 100));
    }
Ejemplo n.º 2
0
    public static List <DefectBase> EnumModified(string date, string email)
    {
        DefectsFilter f = new DefectsFilter();

        f.startDateModified = date;
        f.endDateModified   = DateTime.ParseExact(date, defDateFormat, CultureInfo.InvariantCulture).AddDays(1).ToString(defDateFormat);
        DefectUser u = DefectUser.FindByEmail(email);

        if (u != null)
        {
            f.modifiedUsers = new List <int>()
            {
                u.ID
            };
        }
        DefectBase temp = new DefectBase();

        return(temp.Enum(f, 100));
    }
Ejemplo n.º 3
0
    public List <DefectBase> gettasks(DefectsFilter f)
    {
        DefectBase enm = new DefectBase();

        return(enm.Enum(f));
    }