Exemplo n.º 1
0
        public async Task <ActionResult> RecommendedLaneDelete(int id)
        {
            try
            {
                var result = await _services.RecommendedLaneDelete(id);

                if (result.RESULT)
                {
                    return(RedirectToAction("RecommendedLane"));
                }
                else
                {
                    return(RedirectToAction("ErrorPage"));
                }
            }
            catch
            {
                return(RedirectToAction("ErrorPage"));
            }
        }