public object GetByFilter(int?id = null, DateTime?startDate = null, DateTime?finishDate = null, bool?active = null) { object response = null; response = _repo.FilterBy(id, startDate, finishDate, active); return(response); }