Ejemplo n.º 1
0
        public ActionResult BlockUser(Guid id, FormCollection collection)
        {
            try
            {
                _personsService.BlockUser(id);

                return(RedirectToAction("Details", new { id = id }));
            }
            catch
            {
                return(View());
            }
        }