public string AttendenceReportByFilterService(AttendenceFilter ObjAttendenceFilter)
        {
            string outcome = null;

            DbParam[] param = new DbParam[]
            {
                new DbParam(ObjAttendenceFilter.StartDate, typeof(System.DateTime), "_startDate"),
                new DbParam(ObjAttendenceFilter.EndDate, typeof(System.DateTime), "_endDate"),
                new DbParam(ObjAttendenceFilter.StudentUid, typeof(System.String), "_studentUid"),
                new DbParam(ObjAttendenceFilter.ForClass, typeof(System.String), "_forClass"),
                new DbParam(ObjAttendenceFilter.Section, typeof(System.String), "_section")
            };
            DataSet ds = db.GetDataset("sp_attendenceByFilter", param);
            var     ResultedAttendenceData = CreateAttdenceRowSet(ds, null, null);

            outcome = JsonConvert.SerializeObject(ResultedAttendenceData);
            return(outcome);
        }
示例#2
0
        public IResponse <ApiResponse> AttendenceReportByFilter(AttendenceFilter ObjAttendenceFilter)
        {
            var result = attendenceService.AttendenceReportByFilterService(ObjAttendenceFilter);

            return(null);
        }