Example #1
0
        public async Task <string> ActivateAccount(int userId)
        {
            var item = await _service.AcceptUser(userId);

            if (item != null)
            {
                return("User Accepted Successfully");
            }
            else
            {
                return("Error Occured");
            }
        }