Пример #1
0
 public UserBlacklistResponse GetBlacklist(ISession session, UserBlacklistRequest request)
 {
     var response = request.CreateResponse<UserBlacklistResponse>();
     response.Blacklist = session.User.PersonalBlackList.ProjectedAsCollection<UserDto>().ToArray();
     return response;
 }
		public Task<UserBlacklistResponse> GetBlacklist(UserBlacklistRequest request)
		{
			return ConnectionManager.SendRequestAndWaitResponse<UserBlacklistResponse>(request);
		}