常用方法
常用方法
常用方法
常用方法
public Rental GetRentById(int id) { try { return(rentRepo.GetOne(id)); } catch (ArgumentException) { throw new ArgumentException("Data on this index does not exist."); } }
public Rental GetRentById(int id) { try { return(rentRepo.GetOne(id)); } catch (ArgumentException) { throw new ArgumentException("Data on this index does not exist."); } }