Esempio n. 1
0
        public void DeleteWorkspace(string token, int workspaceId, int id)
        {
            var user = _auth.Authenticate(token);

            if (user == null)
            {
                throw new TedExeption(ExceptionCodes.Authentication);
            }

            _repo.DeleteModule(id, user);
        }