private Usuario GetUsuario(int linePosition) { int nomeColumn = 5; int emailColumn = 13; int centroCustoColumn = 15; int cargaHorariaColumn = 9; return(new Usuario() { CargaHoraria = _excelService.Get <string>(linePosition, cargaHorariaColumn) == "220 Horas" ? new TimeSpan(9, 0, 0) : new TimeSpan(8, 0, 0), CentroCusto = _excelService.Get <string>(linePosition, centroCustoColumn), CargaHorariaSexta = new TimeSpan(8, 0, 0), Email = _excelService.Get <string>(linePosition, emailColumn), Nome = _excelService.Get <string>(linePosition, nomeColumn) }); }