private void save(UserInfo userInfo) { var filePath = getFilePath(); UtilFuction.WriteToBinaryFile <UserInfo>(filePath, userInfo); }
private void save(RestaurantInfo restaurantInfo) { var filePath = getFilePath(); UtilFuction.WriteToBinaryFile <RestaurantInfo>(filePath, restaurantInfo); }