public HomeController([FromServices] ICreateClient createClient,
                       [FromServices] ICreateBonusCard createBonusCard,
                       [FromServices] IPersist persist,
                       [FromServices] IGetClients getClients,
                       [FromServices] ISearchClient searchClient)
 {
     _createClient    = createClient;
     _createBonusCard = createBonusCard;
     _persist         = persist;
     _getClients      = getClients;
     _searchClient    = searchClient;
 }
 public ClientsController(
     IGetClients getClients,
     IGetClientById getClientById,
     IUpsertClient upsertClient,
     IDeleteClient deleteClient)
 {
     this.getClients      = getClients;
     this.getClientById   = getClientById;
     this.upsertClient    = upsertClient;
     this.deleteClient    = deleteClient;
     this.createValidator = new CreateClientModelValidator();
     this.updateValidator = new UpdateClientModelValidator();
 }