Exemplo n.º 1
0
        public IHttpActionResult Activate(Guid groupK)
        {
            try
            {
                groupService.Activate(groupK);
                groupService.SaveChanges();
            }
            catch (Exception)
            {
                return(BadRequest("Something went wrong when activating the group"));
            }

            return(Ok());
        }