Ejemplo n.º 1
0
        public async Task <ActionResult <StoreResponse> > GetStoreOrder(StoreOrderRequest request)
        {
            int brandId = (bool)(!User.FindFirst("BrandId")?.Value.Equals("")) ? Convert.ToInt32(User.FindFirst("BrandId")?.Value) : 0;
            var rs      = await _storesService.GetStoreOrder(brandId, request.CoordinateString, request.TimeOrder, request.DateOrder);

            return(Ok(rs));
        }