예제 #1
0
        // for partial view
        public List<LogFiltered> GetDeveloperLogResulSheet(int developerid, int? projectid, DateTime? fromdate, DateTime? todate)
        {
            int projectId = projectid.HasValue ? projectid.Value : 0;

            Loghistory inputparams = new Loghistory()
            {
                DeveloperId = developerid,
                ProjectId = projectId,
                FromDate = fromdate,
                ToDate = todate

            };

            var logs = db.DeveloperLogsResultSheetProc.CallStoredProc(inputparams).ToList<LogFiltered>();

            return logs;
        }
예제 #2
0
        public List<Report> GetLogsHistory(int developerid,int? projectid,DateTime? fromdate,DateTime? todate)
        {
            int projectId = projectid.HasValue ? projectid.Value : 0;

            Loghistory inputparams = new Loghistory()
            {
                DeveloperId = developerid,
                ProjectId=projectId,
                FromDate =  fromdate,
                ToDate = todate

            };

            var report = db.LogsResultSheetProc.CallStoredProc(inputparams).ToList<Report>();

               return report;
        }