public ActionResult Get() { return(Ok( horarioService.GetAll() )); }
public IEnumerable <HorarioViewModel> GetAll() { return(Mapper.Map <IEnumerable <Horario>, IEnumerable <HorarioViewModel> >(_horarioService.GetAll())); }