public UserRepository(string connectionString, ILogger <UserRepository> logger)
 {
     sql         = SqlAccessBase.Create(connectionString);
     this.logger = logger;
 }
 public DeletedMessagesRepository(string connectionString, ILogger <DeletedMessagesRepository> logger)
 {
     this.sql    = SqlAccessBase.Create(connectionString);
     this.logger = logger;
 }