public List <PRDetail> GetItemDetail(int RecordID) { IRepository = new PurchadeRequisitionRepository(); var obj = IRepository.GetItemDetail(RecordID); return(obj); }