Exemple #1
0
        public ActionResult Activate(Guid id)
        {
            var model = LocationService.GetById(id);

            LocationService.Activate(model);
            LocationService.SaveChanges();
            return(RedirectToAction("Index"));
        }