public int AddGRNItem(GRNItemList user) { int id = 0; try { id = _repository.AddGRNItem(user); } catch (Exception ex) { throw ex; } return(id); }