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); }
public LiftName Get(string id) { return(_liftNameRepository.Get(id)); }