示例#1
0
 public AssetController(
     IQueryAll queryAll,
     IAssetService assetService,
     ICommand command,
     IMapper mapper)
 {
     if (queryAll == null)
     {
         throw new ArgumentNullException(nameof(queryAll));
     }
     _queryAll     = queryAll;
     _assetService = assetService;
     _command      = command;
     _mapper       = mapper;
 }
示例#2
0
 public StudyCertificateController()
 {
     this.getYearsQuery = new GetYearsQuery();
 }
 public ParamedicalBranchController()
 {
     addBranchCommandHandler = new AddBranchCommandHandler();
     getAllBranchesQuery     = new GetAllBranchesQuery();
 }
 public PharmacyYearController()
 {
     this.getYearsQuery = new GetYearsQuery();
 }
 public DegreeBranchController()
 {
     addBranchCommandHandler = new AddBranchCommandHandler();
     getAllBranchesQuery     = new GetAllBranchesQuery();
 }