Exemplo n.º 1
0
 public DeleteController(IBuyingAgentDelete buyingAgentDelete,
                         ILogger <AddNewController> logger,
                         IBuyingAgentCheckIfSaved buyingAgentCheckIfSaved)
 {
     _buyingAgentDelete       = buyingAgentDelete;
     _logger                  = logger;
     _buyingAgentCheckIfSaved = buyingAgentCheckIfSaved;
 }
 public AddNewController(IBuyingAgentCheckIfSaved buyingAgentCheckIfSaved,
                         IBuyingAgentSave buyingAgentSave,
                         ILogger <AddNewController> logger)
 {
     _buyingAgentCheckIfSaved = buyingAgentCheckIfSaved;
     _buyingAgentSave         = buyingAgentSave;
     _logger = logger;
 }
Exemplo n.º 3
0
 public UpdateExistingController(IBuyingAgentRead buyingAgentRead,
                                 IBuyingAgentCheckIfSaved buyingAgentIfSaved,
                                 IBuyingAgentCheckIfExisted buyingAgentCheckIfExisted,
                                 ILogger <UpdateExistingController> logger)
 {
     _buyingAgentRead           = buyingAgentRead;
     _buyingAgentIfSaved        = buyingAgentIfSaved;
     _buyingAgentCheckIfExisted = buyingAgentCheckIfExisted;
     _logger = logger;
 }