public User ExistsUser(string login, string password) { var dto = userClient.ExistsUser(login, password); if (dto != null) { return(convert.ToUser(dto)); } return(new User()); }