public async Task <ActionResult <Store> > GetStoreByStoreIdAsync(string storeId) { Store dbStore = await _repository.GetStoreAsync(storeId); if (dbStore == null) { return(NotFound()); } return(Ok(_mapper.Map <Data.Models.Store>(dbStore))); }