public Equipment GetByCode(string code)
 {
     return(_equipmentRepository.GetByCode(code));
 }