public List <GRN> AllGRNs() { List <GRN> suppliers = new List <GRN>(); try { suppliers = _repository.AllGRNs(); } catch (Exception ex) { throw; } return(suppliers); }