コード例 #1
0
        async Task <IEnumerable <OrderStatusDTO> > IService <OrderStatusDTO, int> .Get()
        {
            IEnumerable <OrderStatus> orders = await _orderStatusRepository.Get();

            return(_mapper.Map <IEnumerable <OrderStatus>, IEnumerable <OrderStatusDTO> >(orders));
        }