public CounterViewModel Get() { Counter counter = _counterRepository.GetCounterByID(1); CounterViewModel counterVM = Mapper.Map <Counter, CounterViewModel>(counter); return(counterVM); }
public CounterViewModel Get() { Counter counter = _counterRepository.GetCounterByID(1); CounterViewModel counterVM = Mapper.Map <Counter, CounterViewModel>(counter); return(counterVM); }