public UsuarioDomainService(IUsuarioRepository usuarioRepository, IMD5Cryptography cryptography) : base(usuarioRepository) { this.usuarioRepository = usuarioRepository; this.cryptography = cryptography; }
public UsuarioDomainService(IUnitOfWork unitOfWork, IMD5Cryptography cryptography) : base(unitOfWork.UsuarioRepository) { this.unitOfWork = unitOfWork; this.cryptography = cryptography; }
public UsuarioDomainService(IUsuarioRepository usuarioRepository, IMD5Cryptography cryptography) { _usuarioRepository = usuarioRepository; _cryptography = cryptography; }