예제 #1
0
 public UserDto GetUser(string email)
 {
     lock (Lock)
     {
         var query = new UserQuery(email);
         return _userQueryHandler.GetById(query);
     }
 }
예제 #2
0
 public bool SetUser(UserDto user)
 {
     lock (Lock)
     {
         var query = new UserQuery(user.Email);
         return _userQueryHandler.SetById<UserDto>(query, user);
     }
 }