public async Task <IActionResult> DeleteAttendancesByLab(int id)
        {
            var result = await _attendanceRepository.DeleteAllByLab(id);

            if (result.Equals("no content"))
            {
                return(NoContent());
            }
            else if (result.Equals("not found"))
            {
                return(NotFound());
            }
            else
            {
                return(BadRequest());
            }
        }