Example #1
0
        public void Insert_Community_Admin()
        {
            var res = communityService.InsertAdmin(1, "1", "2").Result;

            var result = communityService.GetByIdAsync(1).Result.Result;

            Assert.IsTrue(result.admins.Select(x => x.id).Contains("2"));

            var remove = communityService.RemoveAdmin(1, "1", "2").Result;
        }