In this Stack Overflow question, and this, a method with the signature below was added to OrmLiteAuthRepository
:
IUserAuth UpdateUserAuth(IUserAuth existingUser, IUserAuth newUser)
However, this requires detailed knowledge of the AuthRepository used, and tighter coupling between the application layers.
Can this method signature be added to IUserAuthRepositry
? Logically the default implementation would be new NotImplementedException
for any remote hosted repos.