Esempio n. 1
0
        public async Task <ActionResult <StoreTimeSlotResponse> > GetStoreByBrandIdFilByTimeSlot()
        {
            int brandId = (bool)(!User.FindFirst("BrandId")?.Value.Equals("")) ? Convert.ToInt32(User.FindFirst("BrandId")?.Value) : 0;
            var rs      = await _storesService.GetStoreTimeslot(brandId);

            return(Ok(rs));
        }