示例#1
0
 public AdminCommandApplicationService(IUpsertPartnerCommand upsertPartnerCommand,
                                       IUpsertBranchCommand upsertBranchCommand, IUpsertCategoryCommand upsertCategoryCommand,
                                       IDeleteBranchCommand deleteBranchCommand, IDeletePartnerCommand deletePartnerCommand,
                                       IDeleteCategoryCommand deleteCategoryCommand, IUpdateModificationHashQuery updateModificationHashQuery)
 {
     _upsertPartnerCommand        = upsertPartnerCommand;
     _upsertBranchCommand         = upsertBranchCommand;
     _upsertCategoryCommand       = upsertCategoryCommand;
     _deleteBranchCommand         = deleteBranchCommand;
     _deletePartnerCommand        = deletePartnerCommand;
     _deleteCategoryCommand       = deleteCategoryCommand;
     _updateModificationHashQuery = updateModificationHashQuery;
 }
示例#2
0
 public PartnerApplicationService(
     IPartnerDetailsQuery partnerDetailsQuery,
     IBranchToolTipQuery branchToolTipQuery,
     IUpsertBranchCommand upsertBranchCommand,
     IDeleteBranchCommand deleteBranchCommand,
     IUpsertPartnerCommand upsertPartnerCommand,
     IDeletePartnerCommand deletePartnerCommand)
 {
     _partnerDetailsQuery  = partnerDetailsQuery;
     _branchToolTipQuery   = branchToolTipQuery;
     _upsertBranchCommand  = upsertBranchCommand;
     _deleteBranchCommand  = deleteBranchCommand;
     _upsertPartnerCommand = upsertPartnerCommand;
     _deletePartnerCommand = deletePartnerCommand;
 }