public async Task <IEnumerable <Visit> > GetUserVisits(string filter, PictureType pictureType, int pageSize, int pageCount, DateTime dateFilter) { var identity = _securityHelper.GetUser(); return(await _visitRepository.GetUserVisitsAsync(identity, filter, pictureType, pageSize, pageCount)); }