public IEnumerable <SchedulingAPI> GetHorary(int id, string data) { return(_schedulingRepository.GetHorary(id, Convert.ToDateTime(data))); }