예제 #1
0
        public LiftViewModel Get(string id, string uid)
        {
            Lift     lift     = _liftRepository.Get(id, uid);
            LiftName liftName = _liftNameRepository.Get(lift.LiftName.Id);
            LiftType liftType = _liftTypeRepository.Get(lift.LiftType.Id);

            LiftViewModel viewModel = LiftMapper.MapLiftToViewModel(lift, uid);//,

            //liftName,
            //liftType,
            //uid);

            return(viewModel);
        }
예제 #2
0
 public LiftType Get(string id)
 {
     return(_liftTypeRepository.Get(id));
 }