public ActionResult EditAdvertise(int id)
        {
            Advertise advertises = new Advertise();

            Log.Debug($"Getting the advertise with the id:{id}");

            try
            {
                advertises = advertiseService.GetAdvertise(id);
            }
            catch (Exception e)
            {
                Log.Error(e.ToString());
            }
            return(View(advertises));
        }
Exemplo n.º 2
0
        public ActionResult EditAdvertise(int id)
        {
            var advertises = advertiseService.GetAdvertise(id);

            return(View(advertises));
        }