public HorasObterResponseViewModel Obter(string id) { Horas responseModel = _horasService.Obter(id); HorasObterResponseViewModel response = _horasMapper.DeModelParaViewModel(responseModel); return(response); }
public HorasObterResponseViewModel DeModelParaViewModel(Horas model) { HorasObterResponseViewModel viewModel = new HorasObterResponseViewModel { Id = model.Id, Desenvolvedor = model.Desenvolvedor, Data = model.Data, HoraInicio = model.HoraInicio, HoraFim = model.HoraFim, Justificativa = model.Justificativa }; return(viewModel); }
public HorasObterResponseViewModel Obter(string id) { HorasObterResponseViewModel response = _horasAppService.Obter(id); return(response); }