public Milestone(FixFor fixfor)
        {
            Id = fixfor.Index.Value;

            Name = fixfor.Name;

            DateStart = fixfor.DateStart;
            DateRelease = fixfor.Date;
        }
        public static string GetGridUrl(FixFor fixFor, Case parentCase, Status status)
        {
            var url = UserContext.FogBugzUrl + "/default.asp?sView=grid-outline";
            if (fixFor != null)
                url = AddParamToUrl(url, "ixFixFor", fixFor.Index);
            if (parentCase != null)
                url = AddParamToUrl(url, "searchFor", String.Format("parent=\"{0}\"", parentCase.Index));
            if (status != null)
                url = AddParamToUrl(url, "ixStatus", status.Index);

            return url;
        }
        public Milestone BuildMileStone(DateTime startDate, DateTime releaseDate, int id)
        {
            var fixFor = new FixFor() {Name ="Milestone 1.0", DateRelease = releaseDate, DateStart = startDate, Index = id};
            var milestone = new Milestone(fixFor) {DateRelease = releaseDate};

            return milestone;
        }