Ejemplo n.º 1
0
        public async Task <Store> GetStore([FromRoute] string ownerName, [FromRoute] string storeName, [FromBody] Location location)
        {
            var result = await _StoreRepository.GetStore(name : storeName,
                                                         ownerName : ownerName,
                                                         location : location);

            return(result);
        }
 /// <summary>
 ///
 /// </summary>
 /// <param name="storeId"></param>
 /// <returns></returns>
 public Store GetStore(int storeId)
 {
     return(_storesRepository.GetStore(storeId));
 }