public ICollection <AssignReportVm> GetAssignRequisition(int assignRequisitionId) { var report = _db.GetAssignRequisition(); if (assignRequisitionId != null) { report = report.Where(c => c.Id == assignRequisitionId); } return(report.ToList()); }
public ICollection <AssignReportVm> GetAssignRequisition(int assignRequisitionId) { var report = _db.GetAssignRequisition(); if (assignRequisitionId != null) { report = report.Where(c => c.Id == assignRequisitionId); } return(report.ToList()); }