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

            return(_cart.SessionCatering());
        }
示例#2
0
        public async Task <IActionResult> CopyLunch(int id)
        {
            await _lunchRepository.CopyLunchAsync(id);

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