예제 #1
0
        public bool InkPen(Pen pen, Ink ink)
        {
            var useCasePen = DtoToUseCaseDtoConverter.Convert(pen);
            var useCaseInk = DtoToUseCaseDtoConverter.Convert(ink);

            return(PenCollectorInteractor.InkPen(useCasePen, useCaseInk));
        }
예제 #2
0
        public bool GetsRidOfPen(Pen pen)
        {
            var useCasePen = DtoToUseCaseDtoConverter.Convert(pen);

            return(PenCollectorInteractor.GetsRidOfPen(useCasePen));
        }
예제 #3
0
        public bool GetsRidOfInk(Ink ink)
        {
            var useCaseInk = DtoToUseCaseDtoConverter.Convert(ink);

            return(PenCollectorInteractor.GetsRidOfInk(useCaseInk));
        }
예제 #4
0
        public bool UpdatesPenDetails(Pen pen)
        {
            var useCasePen = DtoToUseCaseDtoConverter.Convert(pen);

            return(PenCollectorInteractor.UpdatesPenDetails(useCasePen));
        }
예제 #5
0
        public bool UpdatesInkDetails(Ink ink)
        {
            var useCaseInk = DtoToUseCaseDtoConverter.Convert(ink);

            return(PenCollectorInteractor.UpdatesInkDetails(useCaseInk));
        }
예제 #6
0
        public bool AcquiresPen(Pen pen)
        {
            var useCasePen = DtoToUseCaseDtoConverter.Convert(pen);

            return(PenCollectorInteractor.AcquiresPen(useCasePen));
        }
예제 #7
0
        public bool AcquiresInk(Ink ink)
        {
            var useCaseInk = DtoToUseCaseDtoConverter.Convert(ink);

            return(PenCollectorInteractor.AcquiresInk(useCaseInk));
        }