/// <summary> /// Initializes a new instance of the <see cref="SelectCommandHandler"/> class. /// </summary> /// <param name="service">Input service.</param> public SelectCommandHandler(IFileCabinetService service) : base(service) { this.find = new FindRecordInService(service, CommandName, ref this.list); }
/// <summary> /// Initializes a new instance of the <see cref="UpdateCommandHandler"/> class. /// </summary> /// <param name="service">Input service.</param> public UpdateCommandHandler(IFileCabinetService service) : base(service) { this.find = new FindRecordInService(service, NameCommand, ref this.list); }