public async Task <IEnumerable <AttendanceRecord> > GetAllAsync()
 {
     return(await repository.GetAllAsync());
 }