public async Task <_Catering> CopyCatering(int id)
        {
            _cart.ClearCustomCateringFromCart();
            await _catering.CopyLunchAsync(id);

            return(_cart.SessionCatering());
        }
Exemplo n.º 2
0
        public async Task <IActionResult> CopyLunch(int id)
        {
            await _lunchRepository.CopyLunchAsync(id);

            return(Redirect($"{Request.HostUrl()}/new-catering"));
        }