Exemple #1
0
        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);
        }
Exemple #2
0
 public void setStorePlace(int place)
 {
     storePlace = _storePlaceManager.GetById(place);
 }