Example #1
0
        public static DataTable GetListActualFinancesByProject(int ProjectId, bool checkAccess)
        {
            if (checkAccess && !Project.CanViewFinances(ProjectId))
            {
                throw new AccessDeniedException();
            }

            return(DBFinance.GetListActualFinancesByProject(ProjectId, Security.CurrentUser.TimeZoneId));
        }