public void Post([FromBody] Defect value)
 {
     _defectRepository.InsertAsync(value);
 }