コード例 #1
0
 private bool checkIfUserAreEqual(MeetingService.User userA, MeetingService.User userB)
 {
     return(userA.Login.Equals(userB.Login) &&
            userA.Name.Equals(userB.Name) &&
            userA.Surname.Equals(userB.Surname) &&
            userA.Email.Equals(userB.Email));
 }
        public MeetingService.User convertToUser()
        {
            var user = new MeetingService.User();

            user.Name    = this.Name;
            user.Surname = this.Surname;
            user.Login   = this.Login;
            user.Email   = this.Email;
            return(user);
        }