Beispiel #1
0
        public LinksWithAggregatesDTO GetLinksWithAggregates(int projectId, int status, int linkStrategy, bool onlyMine, int categoryId, Nullable <DateTime> startDate, string endDate, bool includeNotInUse, int teamId, string aggregateBy, bool isActive)
        {
            Nullable <DateTime> modifiedEndDate = null;
            DateTime            newEndDate;

            if (DateTime.TryParse(endDate, out newEndDate))
            {
                modifiedEndDate = newEndDate.AddDays(1);
            }
            string user = Membership.GetUser().UserName;

            return(repo.GetLinksWithAggregates(projectId, status, linkStrategy, onlyMine, user, categoryId, startDate, modifiedEndDate, includeNotInUse, teamId, aggregateBy, isActive));
        }