Exemplo n.º 1
0
        /// <summary>
        ///  This Procedure return Coverage Export Data for Excel download
        /// </summary>
        /// <param name="UserIDs">Comman seperated list of UserIDs</param>
        /// <param name="StartDate">From Date</param>
        /// <param name="EndDate">To Date</param>
        /// <param name="coverageType">Coverage Type (Norm,Plan, Unique) </param>
        /// <returns></returns>
        public List <CoverageExportBO> GetCoverageExport(DateTime StartDate, DateTime EndDate, AspectEnums.CoverageType coverageType, long userId, int selectedRoleID)
        {
            List <CoverageExportBO> listCoverageBO = new List <CoverageExportBO>();

            ObjectMapper.Map(ReportRepository.GetCoverageExport(StartDate, EndDate, coverageType, userId, selectedRoleID), listCoverageBO);
            return(listCoverageBO);
        }
Exemplo n.º 2
0
 /// <summary>
 ///  This Procedure return Coverage Export Percentage Chart
 /// </summary>
 /// <param name="UserIDs">Comman seperated list of UserIDs</param>
 /// <param name="StartDate">From Date</param>
 /// <param name="EndDate">To Date</param>
 /// <param name="coverageType">Coverage Type (Norm,Plan, Unique) </param>
 /// <returns></returns>
 public double GetCoveragePercentage(DateTime StartDate, DateTime EndDate, AspectEnums.CoverageType coverageType, AspectEnums.CoverageReportType coverageReportType, long userId, int selectedRoleID, byte IncludeAllChild = 1)
 {
     return(ReportRepository.GetCoveragePercentage(StartDate, EndDate, coverageType, coverageReportType, userId, selectedRoleID, IncludeAllChild));
 }