Ejemplo n.º 1
0
        public List <UserTaskReportModel> GetAllUserTaskReport(string pageNumber, string projectName, string phaseName, string userId, string fromDate, string toDate, string numberOfrecords)
        {
            ReportsDataAccess obj = new ReportsDataAccess();
            var result            = obj.GetAllUserTaskReport(pageNumber, projectName, phaseName, userId, fromDate, toDate, numberOfrecords);

            return(MapUserTaskReport(result));
        }
Ejemplo n.º 2
0
        public byte[] GetUserTaskExcel(string pageNumber, string projectName, string phaseName, string userId, string fromDate, string toDate, string numberOfrecords, string userName)
        {
            ReportsDataAccess obj = new ReportsDataAccess();
            var result            = obj.GetAllUserTaskReport(pageNumber, projectName, phaseName, userId, fromDate, toDate, numberOfrecords);

            return(EnquiryBusinessLogic.ExportExcel(MapDataTableForTask(result), string.Format("User Task - {0}", userName), false, ""));
        }