public StorePlace GetById(int id) { var storePlace = _storePlaceManager.GetById(id); if (storePlace == default(StorePlace)) { throw new Exception($"Store place identified as ${ id } not found."); } return(storePlace); }
public void setStorePlace(int place) { storePlace = _storePlaceManager.GetById(place); }