public APIResult SetCommunityName([FromBody] SetCommunityNameArgsModel args) { var username = GetUsername(); _communityService.SetName(args.CurrentCommunityFlag, args.Name); return(Success()); }
public APIResult SetCommunityName([FromBody] SetCommunityNameArgsModel args) { var username = GetUsername(); var flag = args.CommunityFlag; checkIsManager(flag, username); _communityService.SetName(flag, args.Name); return(Success()); }